Beispiel #1
0
 /// <summary>
 /// Opens the code window.
 /// </summary>
 public void OpenCodeWindow()
 {
     WindowApi.OpenWindow(WindowTypes.CodeMenu);
     Game.MainCamera.Dragging.DisableDragging();
     Game.MainCamera.Zooming.DisableZooming();
 }
Beispiel #2
0
 /// <summary>
 /// Opens the the exit confirmation window.
 /// </summary>
 public void OpenExitConfirmation()
 {
     WindowApi.OpenWindow(WindowTypes.ExitConfirmation);
     Game.MainCamera.Dragging.DisableDragging();
     Game.MainCamera.Zooming.DisableZooming();
 }
 /// <summary>
 /// This function toggles the visibility for the exit confirmation window.
 /// </summary>
 public void OpenExitConfirmationWindow()
 {
     WindowApi.OpenWindow(WindowTypes.ExitConfirmation);
 }