Ejemplo n.º 1
0
 void PressPause()
 {
     if (currentStage != GameStages.PauseStage)
     {
         prevStage = currentStage;
         ChangeStage(GameStages.PauseStage);
     }
     else
     {
         pauseScreen.CloseScreen();
         controlGenerator.PauseControls(false);
         ResumeStage(prevStage);
     }
 }