public List <MapObject> RetreiveAllTargets(Predicate <MapObject> predicate) { return(VisibleObjects.ToList().FindAll(n => n != null && predicate(n))); }
public List <MapObject> RetreivePlayerTargets(Predicate <MapObject> predicate) { return(VisibleObjects.ToList().FindAll(n => n is Aisling && predicate(n))); }