Function enclosedCoords
Same as enclosedTiles
, but return coords instead of tiles
Prototype
auto enclosedCoords(alias isWall, T)( T grid, RowCol origin, Diagonals diags = Diagonals.no ) if (is(typeof(isWall(grid.tileAt(RowCol(0, 0)))) : bool));
Same as enclosedTiles
, but return coords instead of tiles
auto enclosedCoords(alias isWall, T)( T grid, RowCol origin, Diagonals diags = Diagonals.no ) if (is(typeof(isWall(grid.tileAt(RowCol(0, 0)))) : bool));