예제 #1
0
 /// <summary>
 /// Opens the code window.
 /// </summary>
 public void OpenCodeWindow()
 {
     WindowApi.OpenWindow(WindowTypes.CodeMenu);
     Game.MainCamera.Dragging.DisableDragging();
     Game.MainCamera.Zooming.DisableZooming();
 }
예제 #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();
 }
예제 #3
0
 /// <summary>
 /// This function toggles the visibility for the exit confirmation window.
 /// </summary>
 public void OpenExitConfirmationWindow()
 {
     WindowApi.OpenWindow(WindowTypes.ExitConfirmation);
 }