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