ComponentRef

App State

AppState

Represents an application state. A game does not need to use this component, but it is useful when your application have several distinct states such as "Title screen", "Playing" and "Game over".

Example usage: TripleE sample project.

See also: SetAppState

Properties

OnStart

Called when this state is started.

OnRender

A list of render commands for this state.

OnUpdate

Called between every frame when this state is active.

OnLeave

Called when the model leaves this state, i.e. when SetAppState sets another state.

Definitions

Local data for this state.

Green Marinee theme adapted by David Gilbert, powered by PmWiki