equal
deleted
inserted
replaced
50 } |
50 } |
51 } |
51 } |
52 } |
52 } |
53 |
53 |
54 pub struct GameInfo { |
54 pub struct GameInfo { |
55 pub teams_in_game: u8 |
55 pub teams_in_game: u8, |
|
56 pub left_teams: Vec<String> |
|
57 } |
|
58 |
|
59 impl GameInfo { |
|
60 pub fn new(teams_number: u8) -> GameInfo { |
|
61 GameInfo { |
|
62 teams_in_game: teams_number, |
|
63 left_teams: Vec::new() |
|
64 } |
|
65 } |
56 } |
66 } |
57 |
67 |
58 pub struct HWRoom { |
68 pub struct HWRoom { |
59 pub id: RoomId, |
69 pub id: RoomId, |
60 pub master_id: Option<ClientId>, |
70 pub master_id: Option<ClientId>, |