示例#1
0
 /// <summary>
 /// Resets everything in the game for another run
 /// </summary>
 public void restartGame()
 {
     spherePhysics.returnToStartPosition();
     spherePhysics.disableGravity();
     scoreManager.resetScore();
     gameLost = false;
     countdownTimer.refresh();
     playerControl.resetLocation();
     uiManager.CloseGameLostPanel();
     gameStarted = false;
     gameReady   = true;
 }