Drag[en]gine Script Module DragonScript
1.23
|
State machine. More...
Public Member Functions | |
void | addState (SMState state) |
Add state. More... | |
String | getInitialState () |
Initial state. More... | |
SMState | getStateAt (String id) |
State with identifier or null if absent. More... | |
int | getStateCount () |
Count of states. More... | |
bool | hasStateAt (String id) |
State with identifier is present. More... | |
StateMachine | new () |
Create behavior tree. More... | |
void | setInitialState (String initialState) |
Set initial state. More... | |
State machine.
void Dragengine.StateMachineSystem.StateMachine.addState | ( | SMState | state | ) |
Add state.
EInvalidParam | Another state with the same identifier is present. |
String Dragengine.StateMachineSystem.StateMachine.getInitialState | ( | ) |
Initial state.
SMState Dragengine.StateMachineSystem.StateMachine.getStateAt | ( | String | id | ) |
State with identifier or null if absent.
int Dragengine.StateMachineSystem.StateMachine.getStateCount | ( | ) |
Count of states.
bool Dragengine.StateMachineSystem.StateMachine.hasStateAt | ( | String | id | ) |
State with identifier is present.
StateMachine Dragengine.StateMachineSystem.StateMachine.new | ( | ) |
Create behavior tree.
void Dragengine.StateMachineSystem.StateMachine.setInitialState | ( | String | initialState | ) |
Set initial state.