Click or drag to resize
EventManager Methods
Methods
  NameDescription
Public methodFireDelayed(Single, GameEvent)
Fires the passed event after a short delay.
Public methodFireDelayed(Single, Object, Object)
Fires the passed event after a short delay.
Public methodFireImmediately(GameEvent)
Fires the passed event immediately, notifying all listeners.
Public methodFireImmediately(Object, Object)
Fires the passed event immediately, notifying all listeners.
Public methodProcessEvents
Passes all queued events on to interested listeners and clears the event queue.
Public methodProcessEvents(Single)
Passes all queued events on to interested listeners and clears the event queue.
Public methodQueueEvent(Object)
Queues a new event of the specified type along without any event data.
Public methodQueueEvent(GameEvent)
Queues the passed event to be processed later.
Public methodQueueEvent(Object, Object)
Queues a new event of the specified type along with the passed event data.
Public methodRegisterListener(EventManagerEventDelegate)
Registers the specified delegate for all events. Note that the delegate will be called twice if it is registered for a specific event type as well. Listeners for all events are always notified before listeners for specific events.
Public methodRegisterListener(Object, EventManagerEventDelegate)
Registers the specified delegate for events of the specified type.
Public methodRemoveListener(EventManagerEventDelegate)
Unregisters the specified delegate for all events. Note that this will remove the delegate from the list of listeners interested in all events, only: Calling this function will not remove the delegate from specific events.
Public methodRemoveListener(Object, EventManagerEventDelegate)
Unregisters the specified delegate for events of the specified type.
Top
See Also