Example #1
0
 // Vote on other player.
 public void vote(Player player)
 {
     if (this.alive && !this.voted && player.checkPulse())
     {
         this.voteTarget = player;
         player.addVote();
         this.voted = true;
     }
 }