|
Drag[en]gine Script Module DragonScript 1.35
|
Game app behavior adding ShoutConsole to WindowGameWorld. More...
Public Member Functions | |
| void | addShoutConsole () |
| Add shout console to current game world window. | |
| void | cleanUp () |
| Clean up game. | |
| GAComposeBTSM | getBTSM () |
| Composable component for state machines. | |
| ShoutConsole | getShoutConsole () |
| Shout console or null. | |
| void | initGame () |
| Initialize game. | |
| GABehaviorShoutConsole | new () |
| Create behavior. | |
| void | postInitGame () |
| Post initialize game. | |
| Public Member Functions inherited from Dragengine.DefaultGABehavior | |
| String | getID () |
| Identifier. | |
| DefaultGABehavior | new (String id) |
| Create default behavior. | |
| void | onAppActivate () |
| Application has received or lost focus. | |
| void | onFrameUpdate (float elapsed) |
| Frame update. | |
Static Public Member Functions | |
| static GABehaviorShoutConsole | getBehaviorInApp () |
| Get behavior in game app or null if absent. | |
Public Attributes | |
| GAComposeBTSM | pBTSMs |
| ShoutConsole | pShoutConsole |
| Public Attributes inherited from Dragengine.DefaultGABehavior | |
| String | pID |
Game app behavior adding ShoutConsole to WindowGameWorld.
| void Dragengine.GABehaviorShoutConsole.addShoutConsole | ( | ) |
Add shout console to current game world window.
If shout console exists it is first disposed of.
References getBTSM(), getShoutConsole(), pBTSMs, and pShoutConsole.
Referenced by getBehaviorInApp().
| void Dragengine.GABehaviorShoutConsole.cleanUp | ( | ) |
Clean up game.
Called by BaseGameApp.cleanUp().
Reimplemented from Dragengine.DefaultGABehavior.
References new().
Referenced by getBehaviorInApp().
|
static |
Get behavior in game app or null if absent.
Use this method to check if BaseGameApp contains behavior of type GABehaviorShoutConsole.
References addShoutConsole(), cleanUp(), getBehaviorInApp(), initGame(), new(), pBTSMs, postInitGame(), and pShoutConsole.
Referenced by getBehaviorInApp().
| GAComposeBTSM Dragengine.GABehaviorShoutConsole.getBTSM | ( | ) |
Composable component for state machines.
Referenced by addShoutConsole().
| ShoutConsole Dragengine.GABehaviorShoutConsole.getShoutConsole | ( | ) |
Shout console or null.
Referenced by addShoutConsole(), and new().
| void Dragengine.GABehaviorShoutConsole.initGame | ( | ) |
Initialize game.
Called by BaseGameApp.initGame().
Reimplemented from Dragengine.DefaultGABehavior.
References pBTSMs.
Referenced by getBehaviorInApp().
| GABehaviorShoutConsole Dragengine.GABehaviorShoutConsole.new | ( | ) |
Create behavior.
Reimplemented from Dragengine.DefaultGABehavior.
References getShoutConsole().
Referenced by cleanUp(), and getBehaviorInApp().
| void Dragengine.GABehaviorShoutConsole.postInitGame | ( | ) |
Post initialize game.
Called by BaseGameApp.initGame() after all behaviors have been initialized.
Reimplemented from Dragengine.DefaultGABehavior.
References pShoutConsole.
Referenced by getBehaviorInApp().
| GAComposeBTSM Dragengine.GABehaviorShoutConsole.pBTSMs |
Referenced by addShoutConsole(), getBehaviorInApp(), and initGame().
| ShoutConsole Dragengine.GABehaviorShoutConsole.pShoutConsole |
Referenced by addShoutConsole(), getBehaviorInApp(), and postInitGame().