impl game over

master
bel 2020-05-06 08:47:43 -06:00
parent e0bff631e0
commit bc9c8b232a
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ impl GameMaster {
}
pub fn game_election(&mut self) -> Result<GameEvent, Role> {
let mut ge = GameEventType::ElectionPend.build();
let president_candidate = self.candidate_presidents.pop().unwrap();
ge.d["targets"] = [president_candidate.clone()];
Err(Role::Null)
}