[−][src]Struct freenukum::actor::ActorsList
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]
&mut self,
receivers: ActorType,
message: ActorMessageType,
hero_data: &mut HeroData,
solids: &mut LevelSolids
)
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]
&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
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]
&mut self,
play_state: &mut PlayState,
hero_data: &mut HeroData,
info_message_queue: &mut InfoMessageQueue,
actor_message_queue: &mut ActorMessageQueue
)
pub fn end_interaction(
&mut self,
play_state: &mut PlayState,
hero_data: &mut HeroData
)
[src]
&mut self,
play_state: &mut PlayState,
hero_data: &mut HeroData
)
pub fn act(
&mut self,
solids: &mut LevelSolids,
tiles: &mut LevelTiles,
hero_data: &mut HeroData,
actor_queue: &mut ActorQueue,
play_state: &mut PlayState
)
[src]
&mut self,
solids: &mut LevelSolids,
tiles: &mut LevelTiles,
hero_data: &mut HeroData,
actor_queue: &mut ActorQueue,
play_state: &mut PlayState
)
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]
&mut self,
renderer: &mut dyn Renderer,
draw_collision_bounds: bool
) -> Result<()>
pub fn render_foreground_actors(
&mut self,
renderer: &mut dyn Renderer,
draw_collision_bounds: bool
) -> Result<()>
[src]
&mut self,
renderer: &mut dyn Renderer,
draw_collision_bounds: bool
) -> Result<()>
Trait Implementations
impl Debug for ActorsList
[src]
impl Default for ActorsList
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ActorsList
[src]
impl !Send for ActorsList
[src]
impl !Sync for ActorsList
[src]
impl Unpin for ActorsList
[src]
impl !UnwindSafe for ActorsList
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,