Added orbital speed & fixed target selector resizing.
[VesselSimulator.git] / KerbalEngineer / Flight / Readouts / Orbital / OrbitalSpeed.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
using KerbalEngineer.Extensions;
 
namespace KerbalEngineer.Flight.Readouts.Orbital
{
    public class OrbitalSpeed : ReadoutModule
    {
        public OrbitalSpeed()
        {
            Name = "Orbital Speed";
            this.Category = ReadoutCategory.Orbital;
            this.HelpString = "Shows the vessel's orbital speed.";
        }
 
        public override void Draw()
        {
            this.DrawLine(FlightGlobals.ship_obtSpeed.ToSpeed());
        }
    }
}