示例#1
0
 internal override void UpdatePolygon()
 {
     if (this.Sector == null)
     {
         this.Sector = new SectorPoly(this.StartPosition, this.EndPosition, (float) (this.SData.Angle * Math.PI / 180), this.SData.Range, 20);
         this.UpdatePath();
     }
 }
示例#2
0
 internal override void UpdatePolygon()
 {
     if (this.Sector == null)
     {
         this.Sector = new SectorPoly(this.StartPosition, this.EndPosition, (float)(this.SData.Angle * Math.PI / 180), this.SData.Range, 20);
         this.UpdatePath();
     }
 }