pub struct Config;
Implementations§
Source§impl Config
impl Config
pub const BOARD_SIZE: i32 = 11i32
pub const TARGET_SCORE: i32 = 5i32
pub const MONS_MOVES_PER_TURN: i32 = 5i32
pub const MANA_MOVES_PER_TURN: i32 = 1i32
pub const ACTIONS_PER_TURN: i32 = 1i32
pub const BOARD_CENTER_INDEX: i32 = 5i32
pub const MAX_LOCATION_INDEX: i32 = 10i32
pub fn squares() -> HashMap<Location, Square>
pub fn initial_items() -> HashMap<Location, Item>
pub fn mons_bases() -> HashSet<Location>
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more