diff options
Diffstat (limited to 'planetwars-matchrunner/src/match_context.rs')
-rw-r--r-- | planetwars-matchrunner/src/match_context.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/planetwars-matchrunner/src/match_context.rs b/planetwars-matchrunner/src/match_context.rs index 466da13..8161ed9 100644 --- a/planetwars-matchrunner/src/match_context.rs +++ b/planetwars-matchrunner/src/match_context.rs @@ -66,11 +66,6 @@ impl MatchCtx { }; } - pub fn send_info(&mut self, player_id: u32, msg: String) { - let player = self.players.get_mut(&player_id).unwrap(); - player.handle.send_info(msg); - } - pub fn players(&self) -> Vec<u32> { self.players.keys().cloned().collect() } @@ -83,7 +78,6 @@ impl MatchCtx { pub trait PlayerHandle: Send { fn send_request(&mut self, r: RequestMessage); - fn send_info(&mut self, msg: String); } struct PlayerData { |