Crate seldom_state
source ·Expand description
Component-based state machine plugin for Bevy. Useful for AI, player state, and other entities that occupy different states.
Modules§
- Module for convenient imports. Use with
use seldom_state::prelude::*;
. - Bevy system set stuff
- Triggers are checked to determine whether the machine should transition to a new state. They can be combined with the
not
,and
, andor
combinators. SeeTrigger
.
Structs§
- Add to your app to use this crate
Functions§
- Function called by
StateMachinePlugin
. You may instead call it directly or useseldom_fn_plugin
, which is another crate I maintain.