示例#1
0
        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);
        }
示例#2
0
        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)
 { }
示例#4
0
 public HeadingElement(HudConstants constants)
     : base(constants)
 {
 }
 public BaseLineElement(HudConstants constants)
     : base(constants)
 {
     mathUtils = new MathUtils();
 }
示例#6
0
 public TargetElement(HudConstants constants)
     : base(constants)
 {
 }
示例#7
0
 public BatteryElement(HudConstants constants)
     : base(constants)
 {
 }
示例#8
0
 public BaseLineElement(HudConstants constants)
     : base(constants)
 {
     mathUtils = new MathUtils();
 }
 public SpeedElement(HudConstants constants)
     : base(constants)
 { }
示例#10
0
 public AltitudeElement(HudConstants constants)
     : base(constants)
 {
 }
 public TargetElement(HudConstants constants)
     : base(constants)
 { }
示例#12
0
 public SpeedElement(HudConstants constants)
     : base(constants)
 {
 }
 public BatteryElement(HudConstants constants)
     : base(constants)
 { }
示例#14
0
        private void InitializeHudInterface(HudConfig hudConfig)
        {
            HudConstants hudConstants = new HudConstants(droneControl.FrontCameraFieldOfViewDegrees);

            hudInterface = new HudInterface(hudConfig, hudConstants);
        }
示例#15
0
 public LineBasedElement(HudConstants constants)
     : base(constants)
 {
 }
 public AltitudeElement(HudConstants constants)
     : base(constants)
 { }
 public HeadingElement(HudConstants constants)
     : base(constants)
 { }