Trait cellular_raza_concepts::Position
source · pub trait Position<Pos> {
// Required methods
fn pos(&self) -> Pos;
fn set_pos(&mut self, position: &Pos);
}Expand description
Methods for accessing the position of an agent.
pub trait Position<Pos> {
// Required methods
fn pos(&self) -> Pos;
fn set_pos(&mut self, position: &Pos);
}Methods for accessing the position of an agent.