コード例 #1
0
 private void CountdownTimer()
 {
     if (levelTimeRemaining > 0)
     {
         DisplayTime(levelTimeRemaining);
     }
     else
     {
         if (!timeIsOut)
         {
             _playerDeath.TimeOutDeath();
             timeIsOut = true;
         }
     }
 }