private void Drawing_OnDraw(EventArgs args)
{
if (Manager.MenuManager.DrawAxe)
{
var bestAxe =
Axe.QReticles.Where(
x =>
x.Position.Distance(Game.CursorPos) < Manager.MenuManager.AxeCatchRange)
.OrderBy(x => x.Position.Distance(ObjectManager.Player.ServerPosition))
.ThenBy(x => x.Position.Distance(Game.CursorPos))
.FirstOrDefault();
if (bestAxe != null)
{
Circle.Draw(Color.LimeGreen, 120, bestAxe.Position);
}
foreach (var axe in
Axe.QReticles.Where(x => x.Object.NetworkId != (bestAxe == null ? 0 : bestAxe.Object.NetworkId)))
{
Circle.Draw(Color.GreenYellow, 120, axe.Position);
}
}
if (Manager.MenuManager.DrawAxeCatchRange)
{
Circle.Draw(Color.DodgerBlue,
Manager.MenuManager.AxeCatchRange, Game.CursorPos);
}
}