Cleanup
This commit is contained in:
@@ -5,7 +5,7 @@ pub const LEVEL_WIDTH: usize = 50;
|
||||
pub const LEVEL_HEIGHT: usize = 25;
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||
enum StructureElement {
|
||||
pub enum StructureElement {
|
||||
Wall,
|
||||
Floor,
|
||||
StairDown,
|
||||
@@ -13,7 +13,7 @@ enum StructureElement {
|
||||
Unknown,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub struct Level {
|
||||
structure: [[StructureElement; LEVEL_HEIGHT]; LEVEL_WIDTH],
|
||||
discovered: [[bool; LEVEL_HEIGHT]; LEVEL_WIDTH],
|
||||
|
||||
Reference in New Issue
Block a user