From 33576fe7a5f241dbd884315c3552ad8186562e74 Mon Sep 17 00:00:00 2001 From: troido Date: Mon, 3 Feb 2020 23:03:11 +0100 Subject: can initialise Assemblages from json lists and dicts --- src/room.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/room.rs') diff --git a/src/room.rs b/src/room.rs index 8341eba..a6c696d 100644 --- a/src/room.rs +++ b/src/room.rs @@ -75,11 +75,6 @@ impl <'a, 'b>Room<'a, 'b> { self.world.maintain(); } - pub fn get_size(&self) -> (i32, i32) { - let Size{width, height} = *self.world.fetch::(); - (width, height) - } - pub fn set_input(&mut self, actions: Vec){ self.world.fetch_mut::().actions = actions; } -- cgit