예제 #1
0
 /// <summary>
 /// Dispose
 /// </summary>
 public override void Dispose()
 {
     // Prepare for transition
     //Graphics.Freeze();
     // Dispose of windows
     commandWindow.Dispose();
     playtimeWindow.Dispose();
     stepsWindow.Dispose();
     goldWindow.Dispose();
     statusWindow.Dispose();
 }
예제 #2
0
 /// <summary>
 /// Dispose
 /// </summary>
 public override void Dispose()
 {
     // Dispose of window
     commandwindow.Dispose();
     // If switching to title screen
     if (Main.Scene.IsA("SceneTitle"))
     {
         // Fade out screen
         Graphics.Transition();
         InGame.Screen.ColorTone  = Tone.Empty;
         Graphics.Background.Tone = Tone.Empty;
     }
 }
예제 #3
0
 /// <summary>
 /// Dispose SceneTitle
 /// </summary>
 public override void Dispose()
 {
     commandWindow.Dispose();
     title.Dispose();
 }