示例#1
0
        private static void OnDraw(EventArgs args)
        {
            if (!menuIni.GetValue <MenuBool>("Drawings").Enabled)
            {
                return;
            }
            if (DrawMenu.GetValue <MenuBool>("Q").Enabled&& Q.IsReady())
            {
                Render.Circle.DrawCircle(ObjectManager.Player.Position, Q.Range, Q.IsReady() ? Color.LightYellow : Color.DarkBlue);
            }
            if (DrawMenu.GetValue <MenuBool>("W").Enabled&& W.IsReady())
            {
                Render.Circle.DrawCircle(ObjectManager.Player.Position, W.Range, W.IsReady() ? Color.LightYellow : Color.DarkRed);
            }

            if (DrawMenu.GetValue <MenuBool>("E").Enabled&& E.IsReady())
            {
                Render.Circle.DrawCircle(ObjectManager.Player.Position, E.Range, E.IsReady() ? Color.LightYellow : Color.DarkRed);
            }

            if (DrawMenu.GetValue <MenuBool>("R").Enabled&& R.IsReady())
            {
                Render.Circle.DrawCircle(ObjectManager.Player.Position, R.Range, R.IsReady() ? Color.LightYellow : Color.DarkRed);
            }
        }