Modules

Classes

Automaton
Config
Event
EventDispatcher
GameLoop
GameLoopEventDetail

Events


EVENT_CONTINUED

This event is fired when the game loop has been continued after it had been paused.
Type: Object
Properties:
Name Type Description
detail GameLoopEventDetail
Source:

EVENT_PAUSED

This event is fired when the game loop has been paused while it was running.
Type: Object
Properties:
Name Type Description
detail GameLoopEventDetail
Source:

EVENT_RUNNING

This event is fired when the game loop switches into the state running either because it has been started or continued.
Type: Object
Properties:
Name Type Description
detail GameLoopEventDetail
Source:

EVENT_STARTED

This event is fired when the game loop has been started and is running. The reset function has been called (if it exists).
Type: Object
Properties:
Name Type Description
detail GameLoopEventDetail
Source:

EVENT_STATE_HAS_CHANGED

This event is fired when the state of the game loop has changed.
Type: Object
Properties:
Name Type Description
detail GameLoopEventDetail
Source:

EVENT_STOPPED

This event is fired when the game loop has been stopped.
Type: Object
Properties:
Name Type Description
detail GameLoopEventDetail
Source: