Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.GABehaviorShoutConsole Class Reference

Game app behavior adding ShoutConsole to WindowGameWorld. More...

Inheritance diagram for Dragengine.GABehaviorShoutConsole:
Dragengine.DefaultGABehavior Dragengine.GABehavior

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

Detailed Description

Game app behavior adding ShoutConsole to WindowGameWorld.

Version
1.35
See also
https://developer.dragondreams.ch/wiki/doku.php/dragengine:modules:dragonscript:gabehavior_shoutconsole

Member Function Documentation

◆ addShoutConsole()

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().

◆ cleanUp()

void Dragengine.GABehaviorShoutConsole.cleanUp ( )

Clean up game.

Called by BaseGameApp.cleanUp().

Reimplemented from Dragengine.DefaultGABehavior.

References new().

Referenced by getBehaviorInApp().

◆ getBehaviorInApp()

GABehaviorShoutConsole Dragengine.GABehaviorShoutConsole.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().

◆ getBTSM()

GAComposeBTSM Dragengine.GABehaviorShoutConsole.getBTSM ( )

Composable component for state machines.

Referenced by addShoutConsole().

◆ getShoutConsole()

ShoutConsole Dragengine.GABehaviorShoutConsole.getShoutConsole ( )

Shout console or null.

Referenced by addShoutConsole(), and new().

◆ initGame()

void Dragengine.GABehaviorShoutConsole.initGame ( )

Initialize game.

Called by BaseGameApp.initGame().

Reimplemented from Dragengine.DefaultGABehavior.

References pBTSMs.

Referenced by getBehaviorInApp().

◆ new()

GABehaviorShoutConsole Dragengine.GABehaviorShoutConsole.new ( )

Create behavior.

Reimplemented from Dragengine.DefaultGABehavior.

References getShoutConsole().

Referenced by cleanUp(), and getBehaviorInApp().

◆ postInitGame()

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().

Member Data Documentation

◆ pBTSMs

GAComposeBTSM Dragengine.GABehaviorShoutConsole.pBTSMs

◆ pShoutConsole

ShoutConsole Dragengine.GABehaviorShoutConsole.pShoutConsole

The documentation for this class was generated from the following file: