bevy_gearbox 0.3.0

State machine system for the bevy game engine
Documentation

pub use crate::{
    // Events
    EnterState,
    ExitState,
    Transition,
    // Components
    active::Active,
    active::Inactive,
    CurrentState,
    guards::Guards,
    history::HistoryState,
    InitialState,
    StateMachineRoot,
    state_component::InsertRootWhileActive,
    Parallel,
    state_component::RemoveRootWhileActive,
    // Enums
    history::History,
    // Traits
    guards::Guard,
    // Systems
    get_all_leaf_states,
    state_component::insert_root_while_enter,
    state_component::insert_root_while_exit,
    state_component::remove_root_while_enter,
    state_component::remove_root_while_exit,
    transitions::Transitions,
    transitions::Target,
    transitions::AlwaysEdge,
    transitions::TransitionKind,
    transitions::TransitionListener,
    transitions::transition_listener,
};