EngineStateMachine.addState

Add a state to this state machine.

@param name The name of this state - used to identify it later in the changeState method call. @param state The state. @return This state machine, so methods can be chained.

class EngineStateMachine
addState

Meta