public void OnMissionVoted(int id, bool vote) { _pem.VoteMission(id, vote); }
public void TestVoteMissionSuccess() { game.Start(users); playerEventManager.PickTeam(new int[] { 0, 1, 2 }); playerEventManager.VoteMission(0, true); playerEventManager.VoteMission(1, true); playerEventManager.VoteMission(2, true); Assert.That(game.CurrentPhase, Is.EqualTo(Phase.TeamPicking)); Assert.That(game.ResistanceWinCount, Is.EqualTo(1)); Assert.That(game.CurrentRound, Is.EqualTo(1)); }