diff -r 0135e64c6c66 -r c4fd2813b127 gameServer2/src/server/client.rs --- a/gameServer2/src/server/client.rs Wed May 16 18:22:28 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -pub type ClientId = usize; - -pub struct HWClient { - pub id: ClientId, - pub room_id: Option, - pub nick: String, - pub protocol_number: u32, - pub is_master: bool, - pub is_ready: bool, - pub is_joined_mid_game: bool, -} - -impl HWClient { - pub fn new(id: ClientId) -> HWClient { - HWClient { - id, - room_id: None, - nick: String::new(), - protocol_number: 0, - is_master: false, - is_ready: false, - is_joined_mid_game: false, - } - } -} \ No newline at end of file