pub struct World {
pub lot_width: i64,
pub min_floor: i64,
pub max_floor: i64,
pub ground_floor: i64,
pub ground_floor_structure: &'static str,
pub lobby_interval: i64,
}Expand description
The tower geometry a placement needs.
Fields§
§lot_width: i64The buildable lot width in tiles.
min_floor: i64The lowest floor (the deepest basement). Floors number without a gap: 1 is the ground floor, 0 the first basement.
max_floor: i64The highest floor.
ground_floor: i64The ground floor, where the main lobby sits.
ground_floor_structure: &'static strWhat the floor tool lays on the ground floor: a lobby. A current game
holds no plain floor there, so each tile the floor tool lays pays for
its floor too (paysForFloor).
lobby_interval: i64Floors between lobbies: besides the ground floor, a sky lobby may sit on every floor from 2 up that is a multiple of it (15, 30, …).
Trait Implementations§
impl StructuralPartialEq for World
Auto Trait Implementations§
impl Freeze for World
impl RefUnwindSafe for World
impl Send for World
impl Sync for World
impl Unpin for World
impl UnsafeUnpin for World
impl UnwindSafe for World
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