Drag[en]gine Script Module DragonScript
1.23
|
Manage frame update listeners. More...
Public Member Functions | |
void | addListener (FrameUpdateListener listener) |
Register frame update listener. More... | |
FrameUpdateManager | new () |
Create frame update manager. More... | |
void | notifyAll () |
Notify all frame update listeners. More... | |
void | notifyAll (float elapsed) |
Notify all frame update listeners. More... | |
void | removeListener (FrameUpdateListener listener) |
Unregister frame update listener. More... | |
Static Public Member Functions | |
static FrameUpdateManager | getDefault () |
Default frame update manager. More... | |
static void | notifyAllDefault () |
Notify all frame update listeners of default frame update manager. More... | |
Manage frame update listeners.
Provides default frame update manager for simple frame update handling. Individual instances of frame update managers can be created if needed.
void Dragengine.Utils.FrameUpdateManager.addListener | ( | FrameUpdateListener | listener | ) |
Register frame update listener.
|
static |
Default frame update manager.
FrameUpdateManager Dragengine.Utils.FrameUpdateManager.new | ( | ) |
Create frame update manager.
void Dragengine.Utils.FrameUpdateManager.notifyAll | ( | ) |
Notify all frame update listeners.
void Dragengine.Utils.FrameUpdateManager.notifyAll | ( | float | elapsed | ) |
Notify all frame update listeners.
|
static |
Notify all frame update listeners of default frame update manager.
void Dragengine.Utils.FrameUpdateManager.removeListener | ( | FrameUpdateListener | listener | ) |
Unregister frame update listener.