[][src]Struct freenukum::actor::ActorsList

pub struct ActorsList { /* fields omitted */ }

Implementations

impl ActorsList[src]

pub fn new() -> Self[src]

pub fn count(&self) -> usize[src]

pub fn get_mut(&mut self, index: usize) -> Option<&mut Actor>[src]

pub fn remove_dead(&mut self)[src]

pub fn send_message(
    &mut self,
    receivers: ActorType,
    message: ActorMessageType,
    hero_data: &mut HeroData,
    solids: &mut LevelSolids
)
[src]

pub fn process_shot(
    &mut self,
    shot_position: Rect,
    solids: &mut LevelSolids,
    tiles: &mut LevelTiles,
    actor_adder: &mut dyn ActorAdder,
    hero_data: &mut HeroData,
    actor_message_queue: &mut ActorMessageQueue
) -> bool
[src]

pub fn start_interaction(
    &mut self,
    play_state: &mut PlayState,
    hero_data: &mut HeroData,
    info_message_queue: &mut InfoMessageQueue,
    actor_message_queue: &mut ActorMessageQueue
)
[src]

pub fn end_interaction(
    &mut self,
    play_state: &mut PlayState,
    hero_data: &mut HeroData
)
[src]

pub fn act(
    &mut self,
    solids: &mut LevelSolids,
    tiles: &mut LevelTiles,
    hero_data: &mut HeroData,
    actor_queue: &mut ActorQueue,
    play_state: &mut PlayState
)
[src]

pub fn update_visibility(&mut self, visible_rect: Rect)[src]

pub fn render_background_actors(
    &mut self,
    renderer: &mut dyn Renderer,
    draw_collision_bounds: bool
) -> Result<()>
[src]

pub fn render_foreground_actors(
    &mut self,
    renderer: &mut dyn Renderer,
    draw_collision_bounds: bool
) -> Result<()>
[src]

Trait Implementations

impl Debug for ActorsList[src]

impl Default for ActorsList[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,