Class TGameStateManager
Unit
a3dge
Declaration
type TGameStateManager = class(TStateMachine)
Description
Manages game states.
This class extends TStateMachine adding the needed functionality to manage game states.
See also
- TA3DGEApplication.GameState
- Manage the current game state.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure Render; |
Render current game state.
The Global state will be rendered over the Current one.
You don't need to call this as a3dge.Application will do it for you.
Parameters
- aSender
- The object that does the call. In most cases will be the Application object.
See also
- TGameState.Render
- Render the game state.
|
Properties
 |
property Current: TGameState read GetCurrentState write SetCurrentState; |
Current state.
This state will be updated everytime game tick.
Assigning this property will trigger the execution the Leave and Enter methods of the old and new state in the next game tick.
See also
- TGameStateManager.Global
- If assigned, it will be executed in every game tick along with Current.
|
Generated by PasDoc 0.15.0. Generated on 2025-07-31 11:41:01.
|