public override void PostClose()
        {
            WorldUI.Reset();

            if (!normalClose)
            {
                return;
            }

            this.DoBack();
        }
 public override void DoWindowContents(Rect inRect)
 {
     WorldUI.DrawWorldList(ref inRect, this.Margin, this.CloseButSize, this.worldEntries, this.saveGameEntries,
                           this.LoadWorld, this.OpenDeleteWorldDialog, this.ConvertWorld);
 }
 private void OpenDeleteWorldDialog(string worldDir)
 {
     WorldUI.ShowDeleteWorldDialog(worldDir, this.DeleteWorld, this.ConvertWorldToSingleColonyGame);
 }
 private void ShowDeleteWorldDialog(string worldPath)
 {
     WorldUI.ShowDeleteWorldDialog(worldPath, this.DeleteWorld);
 }
 public override void DoWindowContents(Rect inRect)
 {
     WorldUI.DrawWorldSaveList(ref inRect, this.Margin, this.CloseButSize, this.worldEntries, this.SaveWorld,
                               this.OnNewWorld, this.ShowDeleteWorldDialog);
 }
 public override void PostClose()
 {
     WorldUI.Reset();
 }