The current state of the FSM.
Readonly
currentAn observable value for observing the current state of FSM during its execution.
The current sub FSM in which this FSM is while running.
Readonly
initThe initial state of the FSM
Defines whether the FSM is an inner FSM (ie, whether it is included into another FSM as a sub-FSM transition).
Logs (or not) information about the execution of the FSM.
Readonly
startedTrue: The FSM started.
Readonly
startingBy default an FSM triggers its 'start' event when it leaves its initial state. In some cases, this is not the case. For example, a double-click interaction is an FSM that must trigger its start event when the FSM reaches... its terminal state. Similarly, a DnD must trigger its start event on the first move, not on the first press. The goal of this attribute is to identify the state of the FSM that must trigger the start event. By default, this attribute is set with the initial state of the FSM.
Readonly
statesThe set of the states that compose the FSM. This returns a copy of the real set.
Visiting the FSM.
The visitor.
Adds an FSM handler.
The handler to add.
Removes the given FSM handler from this FSM.
The handler to remove.
Generated using TypeDoc
Defines an FSM that contains concurrent FSMs