Exemple #1
0
 public void CheckDeath()
 {
     if (!playerInput.Alive())
     {
         menuController.ShowGameoverScreen();
         menuController.UpdateScore(waveNumber, playerKills);
         ResetGame();
         playing = false;
         EndWave();
     }
 }