Recent Changes - Search:

ZGameEditor

Documentation

Community

Edit sidebar

AppState

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.

Edit - History - Print - Recent Changes - Search
Page last modified on July 20, 2012, at 07:40 am