/// <summary> /// Opens the code window. /// </summary> public void OpenCodeWindow() { WindowApi.OpenWindow(WindowTypes.CodeMenu); Game.MainCamera.Dragging.DisableDragging(); Game.MainCamera.Zooming.DisableZooming(); }
/// <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); }