예제 #1
0
 private static void GameOnDraw(EventArgs args)
 {
     if (KindredMenu.nodraw())
     {
         return;
     }
     if (!KindredMenu.onlyReady())
     {
         if (KindredMenu.drawingsQ())
         {
             new Circle()
             {
                 Color = Color.AliceBlue, Radius = 340, BorderWidth = 2f
             }.Draw(_Player.Position);
         }
         if (KindredMenu.drawingsW())
         {
             new Circle()
             {
                 Color = Color.OrangeRed, Radius = 800, BorderWidth = 2f
             }.Draw(_Player.Position);
         }
         if (KindredMenu.drawingsE())
         {
             new Circle()
             {
                 Color = Color.Cyan, Radius = 500, BorderWidth = 2f
             }.Draw(_Player.Position);
         }
         if (KindredMenu.drawingsR())
         {
             new Circle()
             {
                 Color = Color.SkyBlue, Radius = 500, BorderWidth = 2f
             }.Draw(_Player.Position);
         }
     }
     else
     {
         if (!Q.IsOnCooldown && KindredMenu.drawingsQ())
         {
             new Circle()
             {
                 Color = Color.AliceBlue, Radius = 340, BorderWidth = 2f
             }.Draw(_Player.Position);
         }
         if (!W.IsOnCooldown && KindredMenu.drawingsW())
         {
             new Circle()
             {
                 Color = Color.OrangeRed, Radius = 800, BorderWidth = 2f
             }.Draw(_Player.Position);
         }
         if (!E.IsOnCooldown && KindredMenu.drawingsE())
         {
             new Circle()
             {
                 Color = Color.Cyan, Radius = 500, BorderWidth = 2f
             }.Draw(_Player.Position);
         }
         if (!R.IsOnCooldown && KindredMenu.drawingsR())
         {
             new Circle()
             {
                 Color = Color.SkyBlue, Radius = 500, BorderWidth = 2f
             }.Draw(_Player.Position);
         }
     }
 }