diff --git a/src/level.rs b/src/level.rs index d4af42f..80dea11 100644 --- a/src/level.rs +++ b/src/level.rs @@ -18,15 +18,15 @@ pub enum StructureElement { } pub struct Level { - level: usize, - structure: [[StructureElement; LEVEL_HEIGHT]; LEVEL_WIDTH], - discovered: [[bool; LEVEL_HEIGHT]; LEVEL_WIDTH], - monsters: Vec, - artifacts: Vec>, + pub(crate) level: usize, + pub(crate) structure: [[StructureElement; LEVEL_HEIGHT]; LEVEL_WIDTH], + pub(crate) discovered: [[bool; LEVEL_HEIGHT]; LEVEL_WIDTH], + pub(crate) monsters: Vec, + pub(crate) artifacts: Vec>, /// the position of the start in the level (eiter stair up or start point) - start: (usize, usize), + pub(crate) start: (usize, usize), /// the position of the end in the level (eiter stair down or end point) - end: (usize, usize), + pub(crate) end: (usize, usize), } impl Level {