Exemplo n.º 1
0
        public static void GameOnDraw(EventArgs args)
        {
            if (IllaoiMenu.nodraw())
            {
                return;
            }

            if (!IllaoiMenu.onlyReady())
            {
                if (IllaoiMenu.drawingsQ())
                {
                    new Circle()
                    {
                        Color = Color.AliceBlue, Radius = Q.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (IllaoiMenu.drawingsW())
                {
                    new Circle()
                    {
                        Color = Color.OrangeRed, Radius = W.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (IllaoiMenu.drawingsE())
                {
                    new Circle()
                    {
                        Color = Color.Cyan, Radius = E.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (IllaoiMenu.drawingsR())
                {
                    new Circle()
                    {
                        Color = Color.SkyBlue, Radius = R.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (IllaoiMenu.Allydrawn())
                {
                    DrawHealths();
                }
            }
            else
            {
                if (!Q.IsOnCooldown && IllaoiMenu.drawingsQ())
                {
                    new Circle()
                    {
                        Color = Color.AliceBlue, Radius = 340, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (!W.IsOnCooldown && IllaoiMenu.drawingsW())
                {
                    new Circle()
                    {
                        Color = Color.OrangeRed, Radius = 800, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (!E.IsOnCooldown && IllaoiMenu.drawingsE())
                {
                    new Circle()
                    {
                        Color = Color.Cyan, Radius = 500, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (!R.IsOnCooldown && IllaoiMenu.drawingsR())
                {
                    new Circle()
                    {
                        Color = Color.SkyBlue, Radius = 500, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (IllaoiMenu.Allydrawn())
                {
                    DrawHealths();
                }
            }
        }