[−][src]Trait sim::GetDrawAgents
Required methods
fn time(&self) -> Time
fn step_count(&self) -> usize
Every time the time changes, this should increase. For smoothly animating stuff.
fn get_draw_car(&self, id: CarID, map: &Map) -> Option<DrawCarInput>
fn get_draw_ped(
&self,
id: PedestrianID,
map: &Map
) -> Option<DrawPedestrianInput>
&self,
id: PedestrianID,
map: &Map
) -> Option<DrawPedestrianInput>
fn get_draw_cars(&self, on: Traversable, map: &Map) -> Vec<DrawCarInput>
fn get_draw_peds(
&self,
on: Traversable,
map: &Map
) -> (Vec<DrawPedestrianInput>, Vec<DrawPedCrowdInput>)
&self,
on: Traversable,
map: &Map
) -> (Vec<DrawPedestrianInput>, Vec<DrawPedCrowdInput>)
fn get_all_draw_cars(&self, map: &Map) -> Vec<DrawCarInput>
fn get_all_draw_peds(&self, map: &Map) -> Vec<DrawPedestrianInput>
fn get_unzoomed_agents(&self, map: &Map) -> Vec<UnzoomedAgent>
Implementors
impl GetDrawAgents for DontDrawAgents
[src]
fn time(&self) -> Time
[src]
fn step_count(&self) -> usize
[src]
fn get_draw_car(&self, _: CarID, _: &Map) -> Option<DrawCarInput>
[src]
fn get_draw_ped(&self, _: PedestrianID, _: &Map) -> Option<DrawPedestrianInput>
[src]
fn get_draw_cars(&self, _: Traversable, _: &Map) -> Vec<DrawCarInput>
[src]
fn get_draw_peds(
&self,
_: Traversable,
_: &Map
) -> (Vec<DrawPedestrianInput>, Vec<DrawPedCrowdInput>)
[src]
&self,
_: Traversable,
_: &Map
) -> (Vec<DrawPedestrianInput>, Vec<DrawPedCrowdInput>)
fn get_all_draw_cars(&self, _: &Map) -> Vec<DrawCarInput>
[src]
fn get_all_draw_peds(&self, _: &Map) -> Vec<DrawPedestrianInput>
[src]
fn get_unzoomed_agents(&self, _: &Map) -> Vec<UnzoomedAgent>
[src]
impl GetDrawAgents for Sim
[src]
fn time(&self) -> Time
[src]
fn step_count(&self) -> usize
[src]
fn get_draw_car(&self, id: CarID, map: &Map) -> Option<DrawCarInput>
[src]
fn get_draw_ped(
&self,
id: PedestrianID,
map: &Map
) -> Option<DrawPedestrianInput>
[src]
&self,
id: PedestrianID,
map: &Map
) -> Option<DrawPedestrianInput>
fn get_draw_cars(&self, on: Traversable, map: &Map) -> Vec<DrawCarInput>
[src]
fn get_draw_peds(
&self,
on: Traversable,
map: &Map
) -> (Vec<DrawPedestrianInput>, Vec<DrawPedCrowdInput>)
[src]
&self,
on: Traversable,
map: &Map
) -> (Vec<DrawPedestrianInput>, Vec<DrawPedCrowdInput>)