Example #1
0
        private static void GameOnDraw(EventArgs args)
        {
            if (FapturneMenu.Nodraw())
            {
                return;
            }

            if (!FapturneMenu.OnlyReady())
            {
                if (FapturneMenu.DrawingsQ())
                {
                    new Circle {
                        Color = Color.AliceBlue, Radius = Q.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (FapturneMenu.DrawingsW())
                {
                    new Circle {
                        Color = Color.OrangeRed, Radius = W.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (FapturneMenu.DrawingsE())
                {
                    new Circle {
                        Color = Color.Cyan, Radius = E.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (FapturneMenu.DrawingsR())
                {
                    new Circle {
                        Color = Color.SkyBlue, Radius = R.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (FapturneMenu.DrawingsT() && wardLocation.Normal.Any())
                {
                    foreach (var place in wardLocation.Normal.Where(pos => pos.Distance(ObjectManager.Player.Position) <= 1500))
                    {
                        Drawing.DrawCircle(place, 100, IsWarded(place) ? Color.Red : Color.Green);
                    }
                }
            }
            else
            {
                if (!Q.IsOnCooldown && FapturneMenu.DrawingsQ())
                {
                    new Circle {
                        Color = Color.AliceBlue, Radius = 1125, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (!W.IsOnCooldown && FapturneMenu.DrawingsW())
                {
                    new Circle {
                        Color = Color.OrangeRed, Radius = 100, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (!E.IsOnCooldown && FapturneMenu.DrawingsE())
                {
                    new Circle {
                        Color = Color.Cyan, Radius = 425, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (!R.IsOnCooldown && FapturneMenu.DrawingsR())
                {
                    new Circle {
                        Color = Color.SkyBlue, Radius = R.Range, BorderWidth = 2f
                    }.Draw(Player.Position);
                }
                if (FapturneMenu.DrawingsT() && wardLocation.Normal.Any())
                {
                    foreach (var place in wardLocation.Normal.Where(pos => pos.Distance(ObjectManager.Player.Position) <= 1500))
                    {
                        Drawing.DrawCircle(place, 100, IsWarded(place) ? Color.Red : Color.Green);
                    }
                }
            }
        }