public void EndMatchForPlayer(Herbivore player) { herbivoresWon += 1; player.EnablePlayer(false); player.EnablePlayerCamera(false); if (herbivoresWon == NetworkGameManager.Instance.InGamePlayerList.Count - 1) { EndMatch(); } }
public void KillPlayer(Herbivore player) { player.EnablePlayer(false); player.EnablePlayerCamera(false); }