public static int CountMinionsInRange(this Obj_AI_Minion minion, IEnumerable <Obj_AI_Base> list, float range) { return(list.Count(m => minion.IsInRange(m, range))); }