Class StateMachine<State>

Core functionality of the state machine, holding solely the current state and, while in transition, the next state, the instructions for the machine and comfort methods to transit and act.

Type Parameters

  • State

Implemented by

Constructors

Properties

stateCurrent: State
stateNext: State

Methods