/// <summary> /// Counts the enemies in players range. /// </summary> /// <returns>The enemies in players range.</returns> /// <param name="rangeSq">Squared Range.</param> public int CountEnemiesInPlayersRangeSquared(float rangeSq) { return(Adds.Concat(new[] { Target }).Count(u => u.DistanceSquared <= rangeSq)); }