Overhauled Flight Engineer
[VesselSimulator.git] / KerbalEngineer / Flight / Readouts / Orbital / PeriapsisHeight.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Project:  KerbalEngineer
// Author:      CYBUTEK
// License:     Attribution-NonCommercial-ShareAlike 3.0 Unported
 
namespace KerbalEngineer.Flight.Readouts.Orbital
{
    public class PeriapsisHeight : ReadoutModule
    {
        public PeriapsisHeight()
        {
            this.Name = "Periapsis Height";
            this.Category = ReadoutCategory.Orbital;
            this.HelpMessage = "Shows the vessel's <b><i>periapsis height</i></b> relative to sea level.";
        }
 
        public override void Draw()
        {
            this.DrawLine(FlightGlobals.ActiveVessel.orbit.PeA.ToString("N0") + "m");
        }
    }
}