Ejemplo n.º 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);
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 3
0
 public void Apply()
 {
     MenuManager.StateTransition(MenuManager.MenuState.NoStateOverride, MenuManager.MenuState.Confirmation);
     ConfirmationWindow.GetConfirmation(ApplySettings, ConfirmationWindow.ConfirmationType.ApplyChanges, _state);
 }