State machine.
More...
◆ addState()
| void Dragengine.StateMachineSystem.StateMachine.addState |
( |
SMState |
state | ) |
|
Add state.
- Exceptions
-
| EInvalidParam | Another state with the same identifier is present. |
◆ addStateReplace()
| void Dragengine.StateMachineSystem.StateMachine.addStateReplace |
( |
SMState |
state | ) |
|
Add state replacing existing one if present.
- Version
- 1.26
◆ forEachState()
| void Dragengine.StateMachineSystem.StateMachine.forEachState |
( |
Block |
ablock | ) |
|
Visit states with block.
- Version
- 1.26
Block has signature (SMState).
◆ getFilename()
| String Dragengine.StateMachineSystem.StateMachine.getFilename |
( |
| ) |
|
Filename or null.
- Version
- 1.26
◆ getInitialState()
| String Dragengine.StateMachineSystem.StateMachine.getInitialState |
( |
| ) |
|
Initial state or null if not set.
◆ getStateAt()
| SMState Dragengine.StateMachineSystem.StateMachine.getStateAt |
( |
String |
id | ) |
|
State with identifier or null if absent.
◆ getStateCount()
| int Dragengine.StateMachineSystem.StateMachine.getStateCount |
( |
| ) |
|
◆ hasStateAt()
| bool Dragengine.StateMachineSystem.StateMachine.hasStateAt |
( |
String |
id | ) |
|
State with identifier is present.
◆ new() [1/2]
| StateMachine Dragengine.StateMachineSystem.StateMachine.new |
( |
| ) |
|
◆ new() [2/2]
| StateMachine Dragengine.StateMachineSystem.StateMachine.new |
( |
String |
filename | ) |
|
Create state machine with filename.
- Version
- 1.26
◆ newEmpty()
| static StateMachine Dragengine.StateMachineSystem.StateMachine.newEmpty |
( |
| ) |
|
|
static |
Create state machine with empty state.
◆ removeState()
| void Dragengine.StateMachineSystem.StateMachine.removeState |
( |
SMState |
state | ) |
|
Remove state.
- Version
- 1.26
◆ setInitialState()
| void Dragengine.StateMachineSystem.StateMachine.setInitialState |
( |
String |
initialState | ) |
|
◆ pFilename
| String Dragengine.StateMachineSystem.StateMachine.pFilename |
◆ pInitialState
| String Dragengine.StateMachineSystem.StateMachine.pInitialState |
◆ pStates
| Dictionary Dragengine.StateMachineSystem.StateMachine.pStates |
The documentation for this class was generated from the following file: