diff options
| author | troido <troido@protonmail.com> | 2020-02-07 19:10:13 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-07 19:10:13 +0100 |
| commit | 940b1c762bb98a56dddc6e3e7f208867abb3ebe5 (patch) | |
| tree | f0535ace5a5a9643fb735f1970fa1b338ec9fea9 /src/room.rs | |
| parent | 3d0d1279627aeee984fa29546aeee6855c9ef2c9 (diff) | |
added roomtemplate
Diffstat (limited to 'src/room.rs')
| -rw-r--r-- | src/room.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/room.rs b/src/room.rs index a953a04..5daad29 100644 --- a/src/room.rs +++ b/src/room.rs @@ -41,7 +41,7 @@ pub struct Room<'a, 'b> { impl <'a, 'b>Room<'a, 'b> { - pub fn new(encyclopedia: Encyclopedia, size: (i32, i32)) -> Room<'a, 'b> { + pub fn new(encyclopedia: Encyclopedia, size: (i64, i64)) -> Room<'a, 'b> { let (width, height) = size; let mut world = World::new(); world.insert(Size{width, height}); |
