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

GameApp Behavior instance interface providing the actual game app behavior. More...

Inheritance diagram for Dragengine.GABehavior:
Dragengine.DefaultGABehavior Dragengine.GABehaviorFadeOverCanvas Dragengine.GABehaviorInteractiveMainMenu Dragengine.GABehaviorShoutConsole Dragengine.GABehaviorStateMachine Dragengine.Scenery.GABehaviorFlags Dragengine.Scenery.GABehaviorTimers

Public Member Functions

void cleanUp ()
 Clean up game.
void initGame ()
 Initialize game.
void onAppActivate ()
 Application has received or lost focus.
void onFrameUpdate (float elapsed)
 Frame update.
void postInitGame ()
 Post initialize game.

Detailed Description

GameApp Behavior instance interface providing the actual game app behavior.

Version
1.35

App behaviors are created during BaseGameApp.initGame() call after the majority of BaseGameApp class members have been created and initialized with some exceptions:

These actions are performed as outlined. All other data already initialized before app behaviors are created should be modified during app behavior construction time.

Member Function Documentation

◆ cleanUp()

◆ initGame()

◆ onAppActivate()

void Dragengine.GABehavior.onAppActivate ( )

Application has received or lost focus.

Called by BaseGameApp.onAppActivate().

Implemented in Dragengine.DefaultGABehavior.

Referenced by onFrameUpdate().

◆ onFrameUpdate()

void Dragengine.GABehavior.onFrameUpdate ( float elapsed)

Frame update.

Called by BaseGameApp#onFrameUpdate(float).

Implemented in Dragengine.DefaultGABehavior, and Dragengine.Scenery.GABehaviorTimers.

References onAppActivate().

Referenced by cleanUp().

◆ postInitGame()

void Dragengine.GABehavior.postInitGame ( )

Post initialize game.

Called by BaseGameApp.initGame() after all behaviors have been initialized.

Implemented in Dragengine.DefaultGABehavior, and Dragengine.GABehaviorShoutConsole.

References cleanUp().

Referenced by initGame().


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