Trait pure_hfsm::Behavior[][src]

pub trait Behavior {
    type World;
    type Update;
    fn update<'w, 's, 'ww, 'ss>(
        &self,
        data: &mut StateData,
        commands: &mut Self::Update,
        world: &Self::World
    ); }
Expand description

Behavior to adopt when in a state

Associated Types

The world we live in and influnces our behavior

Things our behavior changes in the world

Required methods

The behavior, what to do to commands given world

Implementors