public HudElement(HudConstants constants) { this.constants = constants; hudBrush = new SolidBrush(Color.LightGreen); hudPen = new Pen(hudBrush, 1.0f); hudFont = new Font("Courier New", hudFontSize, FontStyle.Regular, GraphicsUnit.Pixel); }
public LineBasedElement(HudConstants constants) : base(constants) { }
public HeadingElement(HudConstants constants) : base(constants) { }
public BaseLineElement(HudConstants constants) : base(constants) { mathUtils = new MathUtils(); }
public TargetElement(HudConstants constants) : base(constants) { }
public BatteryElement(HudConstants constants) : base(constants) { }
public SpeedElement(HudConstants constants) : base(constants) { }
public AltitudeElement(HudConstants constants) : base(constants) { }
private void InitializeHudInterface(HudConfig hudConfig) { HudConstants hudConstants = new HudConstants(droneControl.FrontCameraFieldOfViewDegrees); hudInterface = new HudInterface(hudConfig, hudConstants); }