Class StateMachine
A finite state machine.
public class StateMachine
- Inheritance
-
StateMachine
- Inherited Members
Constructors
StateMachine(State)
Create a new FSM.
public StateMachine(State initialState)
Parameters
initialState
StateInitial state.
Methods
Update()
Update the FSM and return the actions to perform.
public Action Update()
Returns
- Action
Actions to perform.