public static PlacementData GetData(Zone zone, Map map, int labelLength) { return(EdgeFinder.GetBestPlacementData( zone.Cells, c => c.Fogged(map), c => true, c => true, labelLength )); }
public PlacementData GetData(Room room, int labelLength) { return(EdgeFinder.GetBestPlacementData( room.Cells.ToList(), c => false, c => !_map.thingGrid.CellContains(c, ThingDefOf.Wall), IsCellVisible, labelLength )); }