Class TStateMachine
Unit
a3dge.Classes
Declaration
type TStateMachine = class(TObject)
Description
A State Machine implementation.
This object keeps track of the current states. It also calls the Enter and Leave state methods when current state changes.
To use this object create a TStateMachine object. Then assign the Current state and call the Update method to execute the state.
See also
- TState
- Base class for states.
- TStateMachine.Current
- Current state.
- TStateMachine.Update
- Execute Current and Global states.
Hierarchy
Overview
Methods
Properties
 |
property Current: TState read fCurrentState write SetCurrentState; |
 |
property Global: TState read fGlobalState write SetGlobalState; |
Description
Methods
Properties
Generated by PasDoc 0.15.0. Generated on 2025-07-31 11:41:01.
|