pub trait Velocity<Vel> {
// Required methods
fn velocity(&self) -> Vel;
fn set_velocity(&mut self, velocity: &Vel);
}
Expand description
Methods for accessing the velocity of an agent
Required Methods§
Sourcefn set_velocity(&mut self, velocity: &Vel)
fn set_velocity(&mut self, velocity: &Vel)
Sets the cells current velocity.