/// <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(); }
/// <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; } }
/// <summary> /// Dispose SceneTitle /// </summary> public override void Dispose() { commandWindow.Dispose(); title.Dispose(); }