Expand description
Most commonly used re-exported types.
Structs§
- System set that runs enter schedule(s) for state
S. - System set that runs exit schedule(s) for state
S. - A finite-state machine whose transitions have associated schedules (
OnEnter(state)andOnExit(state)). - Entities marked with this component will be removed when the world’s state of the matching type no longer matches the supplied value.
- Runs state transitions.
- Event sent when any state transition of
Shappens. This includes identity transitions, whereexitedandenteredhave the same value. - System set that runs transition schedule(s) for state
S.
Enums§
- The next state of
State<S>.
Traits§
- A state whose value is automatically computed based on the values of other
States. - Types that can define world-wide states in a finite-state machine.
- A sub-state is a state that exists only when the source state meet certain conditions, but unlike
ComputedStates- while they exist they can be manually modified.
Functions§
- Generates a
Condition-satisfying closure that returnstrueif the state machine is currently instate. - Returns the latest state transition event of type
S, if any are available. - A
Condition-satisfying system that returnstrueif the state machine changed state. - A
Condition-satisfying system that returnstrueif the state machine exists.