/// <summary> /// Clean up all resources that we created. /// </summary> public override void ShutDown() { if (debugForm != null) { debugForm.Close(); debugForm.Dispose(); debugForm = null; } }
/// <summary> /// Called when the flightmodel is being initialized. /// </summary> public override void Initialize() { debugForm = new DebugForm(); debugForm.FlightModel = this; debugForm.Show(); }