private NeighbouringPreviews ( SubCell>.IReadOnlyDictionary |
||
footprint | SubCell>.IReadOnlyDictionary | |
Résultat | string[]>.Dictionary |
Dictionary<CPos, string[]> NeighbouringPreviews(IReadOnlyDictionary<CPos, SubCell> footprint)
{
var cells = Util.ExpandFootprint(footprint.Keys, true).Except(footprint.Keys);
return cells.ToDictionary(c => c, c => PreviewsAt(c).Select(p => p.Info.Name).ToArray());
}