Ejemplo n.º 1
0
 public void EliminatePlayer(Participant playerToElim)
 {
     //StopCoroutine(GameLoop());
     gameParticipatns.Remove(playerToElim);
     playerToElim.DisplayBustedLetters();
     if (curParticipantID == gameParticipatns.Count)
     {
         curParticipantID = 0;
     }
     curParticipant = gameParticipatns[curParticipantID];
     Debug.Log(playerToElim.participantName + " was eliminated. There are now " + gameParticipatns.Count + " in game." +
               " And it is now " + curParticipant.participantName + "'s turn.");
     DisplayText(playerToElim.participantName + " was eliminated from the game.");
     //StartCoroutine(GameLoop());
 }