Пример #1
0
 public void EndMatchForPlayer(Herbivore player)
 {
     herbivoresWon += 1;
     player.EnablePlayer(false);
     player.EnablePlayerCamera(false);
     if (herbivoresWon == NetworkGameManager.Instance.InGamePlayerList.Count - 1)
     {
         EndMatch();
     }
 }
Пример #2
0
 public void KillPlayer(Herbivore player)
 {
     player.EnablePlayer(false);
     player.EnablePlayerCamera(false);
 }