State.StateBase

template State(Commands, Base = Object, EnterChildHandler = void delegate(Commands)[], ExitChildHandler = EnterChildHandler, EnterHandler = void delegate()[], ExitHandler = EnterHandler)
abstract
class StateBase : Base, Commands, FlowHandler!Commands {}

Constructors

this
this()

Constructor

Members

Functions

_getNext
Commands _getNext()
_onEnter
void _onEnter()
_onEnterChild
void _onEnterChild(Commands child)
_onExit
void _onExit()
_onExitChild
void _onExitChild(Commands child)

internal

setNext
void setNext(Commands cmd)

Indicates the next state. The specified state becomes a child of this state.

Variables

onEnter
EnterHandler onEnter;

Handler that will be called back when flow enter this state

onEnterChild
EnterChildHandler onEnterChild;

Handler that will be called back when flow enter child state

onExit
ExitHandler onExit;

Handler that will be called back when flow exit this state

onExitChild
ExitChildHandler onExitChild;

Handler that will be called back when flow exit child state

Meta