private void UpdatePolygon()
{
switch (this.SpellData.Type)
{
case SkillShotType.SkillshotCircle:
this.Circle.UpdatePolygon();
this.Polygon = this.Circle;
break;
case SkillShotType.SkillshotLine:
case SkillShotType.SkillshotMissileLine:
this.Rectangle.UpdatePolygon();
this.Polygon = this.Rectangle;
break;
case SkillShotType.SkillshotCone:
this.Sector.UpdatePolygon();
this.Polygon = this.Sector;
break;
case SkillShotType.SkillshotRing:
this.Ring.UpdatePolygon();
this.Polygon = this.Ring;
break;
case SkillShotType.SkillshotArc:
this.Arc.UpdatePolygon();
this.Polygon = this.Arc;
break;
}
}