예제 #1
0
 public void CloseLevel()
 {
     level = null;
     editorForm.LevelDisplay.UpdateLevel();
     UpdateWindowTitle();
     PropertyGrid.CloseProperties();
 }
예제 #2
0
 // Close the world file.
 public void CloseFile()
 {
     if (IsWorldOpen)
     {
         PropertyGrid.CloseProperties();
         world          = null;
         level          = null;
         hasMadeChanges = false;
         worldFilePath  = "";
         RefreshWorldTreeView();
     }
 }