Constructors
Accessors
Methods
enterState
- enterState(stateName, skipOnEnter?): void
Parameters
- stateName: string
- skipOnEnter: boolean = false
Returns void
sendSignal
- sendSignal(signal, data?): void
Parameters
- signal: string
- data: any = null
Returns void
Add a new state to the state machine.