Trait Position
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.
Required Methods§
fn pos(&self) -> Pos
fn pos(&self) -> Pos
Gets the cells current position.