Example #1
0
 public void OnTeamVoted(int id, bool vote)
 {
     _pem.VoteTeam(id, vote);
 }
Example #2
0
 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));
 }