aboutsummaryrefslogtreecommitdiff
path: root/src/world.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.rs')
-rw-r--r--src/world.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/world.rs b/src/world.rs
index 20b510a..a315111 100644
--- a/src/world.rs
+++ b/src/world.rs
@@ -254,9 +254,17 @@ impl Dungeon {
}
}
+ pub fn xsize(&self) -> usize {
+ self.xsize
+ }
+
pub fn ysize(&self) -> usize {
self.ysize
}
+
+ pub fn depth(&self) -> usize {
+ self.depth
+ }
}
impl Generatable for Dungeon {