public void AddPlace(Place placeToAdd) { ListPlaces.Add(placeToAdd); }
public void DeletePlace(Place placeToDelete) { ListPlaces.Remove(placeToDelete); }
/// <summary> /// Retourne les lieux /// </summary> /// <param name="place"></param> /// <returns></returns> public List<Ant> getAntsWherePlacesContains(Place place) { return antsList.Where(ant => ant.ListPlaces.Contains(place) == true).ToList(); }