private bool ShouldE(Vector3 predictedPos) { var rect = new Geometry.Rectangle(ObjectManager.Player.ServerPosition, predictedPos, 80f); if (GameObjects.EnemyMinions.Any(m => m.Distance(ObjectManager.Player) < 900 && !m.Position.IsOutside(rect))) { return(false); } return(true); }
private bool ShouldE(Vector3 predictedPos) { var rect = new Geometry.Rectangle(ObjectManager.Player.ServerPosition, predictedPos, 80f); if (GameObjects.EnemyMinions.Any(m => m.Distance(ObjectManager.Player) < 900 && !m.Position.IsOutside(rect))) { return false; } return true; }