Example #1
0
 public void Quit()
 {
     if (Data.GameManager.IsLoading)
     {
         return;
     }
     MenuManager.StateTransition(MenuManager.MenuState.NoStateOverride, MenuManager.MenuState.Confirmation);
     ConfirmationWindow.GetConfirmation(QuitLevel, ConfirmationWindow.ConfirmationType.AreYouSure, _state);
 }
Example #2
0
 public void Back()
 {
     _back = true;
     if (_update)
     {
         MenuManager.StateTransition(MenuManager.MenuState.NoStateOverride, MenuManager.MenuState.Confirmation);
         ConfirmationWindow.GetConfirmation(ApplySettings, ConfirmationWindow.ConfirmationType.ApplyChanges, MenuManager.MenuState.Settings);
     }
     else
     {
         this.GoBack();
     }
 }
Example #3
0
 public void Apply()
 {
     MenuManager.StateTransition(MenuManager.MenuState.NoStateOverride, MenuManager.MenuState.Confirmation);
     ConfirmationWindow.GetConfirmation(ApplySettings, ConfirmationWindow.ConfirmationType.ApplyChanges, _state);
 }