24 lines
323 B
Rust
24 lines
323 B
Rust
// use super::Agent;
|
|
// use super::{MagicContainer, MCError};
|
|
// use super::TorusGrid;
|
|
|
|
|
|
#[derive(Clone)]
|
|
pub enum Intention {
|
|
MoveTo,
|
|
StakedOut,
|
|
}
|
|
|
|
|
|
#[derive(Clone)]
|
|
pub enum LocalItentoin {
|
|
Rotate(i8),
|
|
SwapCell,
|
|
}
|
|
|
|
#[derive(Clone)]
|
|
pub struct LinkIntention<T: Clone>{
|
|
pub it: T,
|
|
pub lin: usize,
|
|
}
|