|
Drag[en]gine Script Module DragonScript 1.35
|
Game app behavior adding state machine support. More...
Additional Inherited Members | |
| Public Member Functions inherited from Dragengine.DefaultGABehavior | |
| void | cleanUp () |
| Clean up game. | |
| String | getID () |
| Identifier. | |
| void | initGame () |
| Initialize game. | |
| DefaultGABehavior | new () |
| Create default behavior with empty identifier. | |
| DefaultGABehavior | new (String id) |
| Create default behavior. | |
| void | onAppActivate () |
| Application has received or lost focus. | |
| void | onFrameUpdate (float elapsed) |
| Frame update. | |
| void | postInitGame () |
| Post initialize game. | |
| Public Attributes inherited from Dragengine.DefaultGABehavior | |
| String | pID |
Game app behavior adding state machine support.
The state machine to run is loaded from BaseGameApp.getConfiguration() using string key "appBehavior/stateMachine/path" or "appBehavior/stateMachine(id)/path". To enable debug logging set string key "appBehavior/stateMachine/debug" or "appBehavior/stateMachine(id)/debug".
Example configuration file: