Click or drag to resize
DigitalRuneStateCollectionFinalState Property
Gets or sets the final state.

Namespace: DigitalRune.Game.States
Assembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax
public State FinalState { get; set; }

Property Value

Type: State
The final state. The default value is .
Remarks

A final state is only relevant if this state collection contains the sub-states of another state and the parent state has an event-less transition (= a transition where FireAlways is set). An event-less transition usually fires immediately. But when a final state is set, the event-less transition can only fire when the final state of the sub-states is active.

If a state has parallel sub-states with multiple final states, then all final states must be active before any event-less transitions can fire.

See Also