App State

ZGameEditor

Documentation

Community

Edit sidebar

App State

AppState

Represents an application state. A game does not need to use this component, but it is useful when your appliction 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.

Recent Changes (All) | Edit SideBar Page last modified on February 26, 2007, at 08:13 PM Edit Page | Page History
Powered by PmWiki