public void OnTeamVoted(int id, bool vote) { _pem.VoteTeam(id, vote); }
public void TestVoteTeamAllAccept() { game.Start(users); playerEventManager.PickTeam(new int[] { 0, 1 }); foreach (var player in players) { playerEventManager.VoteTeam(player.ID, true); } Assert.That(game.CurrentPhase, Is.EqualTo(Phase.MissionVoting)); }