Exemplo n.º 1
0
 /// <summary>
 /// Closes the block programming window.
 /// </summary>
 public void CloseWindow()
 {
     Game.MainCamera.Dragging.EnableDragging();
     Game.MainCamera.Zooming.EnableZooming();
     WindowApi.CloseLastWindow();
 }
Exemplo n.º 2
0
 /// <summary>
 /// This function closes the quit confirmation windows.
 /// </summary>
 public void CancelQuit()
 {
     WindowApi.CloseLastWindow();
     DisableMovement();
 }