Executing a (Basis) State
- The transitions leading away from the state and transitions leading out of higher-level states are evaluated in order of their priority.
- If a valid transition is found, it is executed. This ends the execution of the state.
- If no valid transition from the state is available, the static action is executed.
- If the state has higher-level states, their static actions are executed.