pub trait ActionsProxy<'a> {
    type Modifier: ModifyActions;

    // Required method
    fn actions(&'a mut self, agent: Entity) -> Self::Modifier;
}
Expand description

Proxy method for modifying actions. Returns a type that implements ModifyActions.

Required Associated Types§

source

type Modifier: ModifyActions

The type returned for modifying actions.

Required Methods§

source

fn actions(&'a mut self, agent: Entity) -> Self::Modifier

Returns a type for modifying actions for specified agent.

Implementations on Foreign Types§

source§

impl<'c, 'w: 'c, 's: 'c> ActionsProxy<'c> for Commands<'w, 's>

§

type Modifier = AgentCommandsActions<'c, 'w, 's>

source§

fn actions(&'c mut self, agent: Entity) -> AgentCommandsActions<'c, 'w, 's>

source§

impl<'a> ActionsProxy<'a> for World

§

type Modifier = AgentWorldActions<'a>

source§

fn actions(&'a mut self, agent: Entity) -> AgentWorldActions<'a>

Implementors§