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