示例#1
0
        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);
        }
示例#2
0
 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;
 }