Beispiel #1
0
 public void ResetGame()
 {
     foreach (GameObject e in enemySpawner.enemyList)
     {
         Destroy(e);
     }
     enemySpawner.enemyList.Clear();
     timeSinceStart = 0;
     hammer.Reset();
     barrel.Reset();
     score = 0;
 }