Listeners

Listeners are the special objects to observer e.g. user action. You may listen using the data element 4.7.6: ''sec:Start keyboard listener'' or 4.7.6: ''sec:Start mouse listener'' data element. The listener is being assigned to the Player. Every time, the event occurs the Procedure is executed (or more formal: to the selected Player the new Thread is being assigned to run the selected Procedure). To stop the Listener you have to stop the listener (attention: the player with any listener assigned won't stop when it's last thread will stop running) or run the command 4.7.14: ''sec:Stop listeners''.



krzys2014-11-23