gameServer2/src/server/room.rs
branchui-scaling
changeset 15283 c4fd2813b127
parent 13390 0135e64c6c66
parent 15279 7ab5cf405686
child 15663 d92eeb468dad
--- a/gameServer2/src/server/room.rs	Wed May 16 18:22:28 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-pub type RoomId = usize;
-
-pub struct HWRoom {
-    pub id: RoomId,
-    pub name: String,
-    pub password: Option<String>,
-    pub protocol_number: u32,
-    pub ready_players_number: u8,
-}
-
-impl HWRoom {
-    pub fn new(id: RoomId) -> HWRoom {
-        HWRoom {
-            id,
-            name: String::new(),
-            password: None,
-            protocol_number: 0,
-            ready_players_number: 0,
-        }
-    }
-}
\ No newline at end of file