예제 #1
0
        public Radar.Indicator AddIndicator(string name, float min, float max)
        {
            var indicator = new Radar.Indicator();

            indicator.name = name;
            indicator.min  = min;
            indicator.max  = max;
            indicatorList.Add(indicator);
            return(indicator);
        }
예제 #2
0
        public bool AddIndicator(int radarIndex, Radar.Indicator indicator)
        {
            var radar = GetRadar(radarIndex);

            if (radar == null)
            {
                return(false);
            }
            radar.AddIndicator(indicator);
            return(true);
        }
예제 #3
0
 public void AddIndicator(Radar.Indicator indicator)
 {
     indicatorList.Add(indicator);
     SetAllDirty();
 }