Ejemplo n.º 1
0
 public void Draw(Color color, int width = 1)
 {
     if (!GetValue <bool>("Draw"))
     {
         return;
     }
     Polygon.Draw(color, width);
 }
Ejemplo n.º 2
0
        public void Draw(Color color, Color missileColor, int width = 1)
        {
            if (!GetValue <bool>("Draw"))
            {
                return;
            }
            DrawingPolygon.Draw(color, width);

            if (SpellData.Type == SkillShotType.SkillshotMissileLine)
            {
                var position = GetMissilePosition(0);
                Utils.DrawLineInWorld(
                    (position + SpellData.Radius * Direction.Perpendicular()).To3D(),
                    (position - SpellData.Radius * Direction.Perpendicular()).To3D(), 2, missileColor);
            }
        }
Ejemplo n.º 3
0
        public void Draw(Color color, Color missileColor, int width = 1)
        {
            if (!Config.SkillShotsMenu["Draw" + SpellData.MenuItemName].Cast <CheckBox>().CurrentValue)
            {
                return;
            }

            DrawingPolygon.Draw(color, width);

            if (SpellData.Type == SkillShotType.SkillshotMissileLine)
            {
                var position = GetMissilePosition(0);
                Utils.DrawLineInWorld(
                    (position + SpellData.Radius * Direction.Perpendicular()).To3DWorld(),
                    (position - SpellData.Radius * Direction.Perpendicular()).To3DWorld(), 2, missileColor);
            }
        }
Ejemplo n.º 4
0
        public void Draw(Color color, Color missileColor, int width = 1)
        {
            if (!GetValue <MenuBool>("Draw").Value)
            {
                return;
            }

            DrawingPolygon.Draw(color, width);

            if (SpellData.Type == SkillShotType.SkillshotMissileLine)
            {
                var position = Rectangle.RStart;
                Utils.DrawLineInWorld(
                    (position + SpellData.Radius * Direction.Perpendicular()).ToVector3(),
                    (position - SpellData.Radius * Direction.Perpendicular()).ToVector3(), 2, missileColor);
            }
        }