Exemplo n.º 1
0
 public void UpdateTimer(TimerController _scrpTimer)
 {
     //Si se acaba el tiempo de un jugador...
     if (_scrpTimer.bFinnish)
     {
         if (!bPlayer2Played && bPlayer1Played)
         {
             bPlayer2Played = !bPlayer2Played;
         }
         if (!bPlayer1Played)
         {
             bPlayer1Played = !bPlayer1Played;
             NextPlayer();
         }
         _scrpTimer.DeactiveTimer();
     }
     if (bSelectPilar)
     {
         _scrpTimer.DeactiveTimer();
     }
 }