Members
eventPool :Object
Gets the queued up event pool.
Type:
- Object
- Source:
isWaiting :boolean
Specifies whether this EventQueue instance is already waiting for queued
events.
Type:
- boolean
- Source:
Methods
dequeue(eventDispatcher, eventType)
Removes an event with the specified event dispatcher and event type from
the queue.
Parameters:
Name | Type | Description |
---|---|---|
eventDispatcher |
EventDispatcher | EventDispatcher instance which the event was registered with. |
eventType |
string | Name of the event which the event was registered with. |
- Source:
enqueue(eventDispatcher, eventType)
Adds an event with the specified event dispatcher and event type to the
queue.
Parameters:
Name | Type | Description |
---|---|---|
eventDispatcher |
EventDispatcher | EventDispatcher instance to register the event with. |
eventType |
string | Name of the event to register. |
- Source:
kill()
Kills this EventQueue instance, setting everything for garbage collection.
- Source:
start()
Starts waiting for queued up events.
- Source: