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
S
happens. This includes identity transitions, whereexited
andentered
have 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 returnstrue
if the state machine is currently instate
. - Returns the latest state transition event of type
S
, if any are available. - A
Condition
-satisfying system that returnstrue
if the state machine changed state. - A
Condition
-satisfying system that returnstrue
if the state machine exists.