dtiled-redthing1 ~master (2022-03-10T04:37:21Z)
Dub
Repo
enclosedCoords
dtiled
algorithm
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
)
)
Meta
Source
See Implementation
dtiled
algorithm
functions
enclosedCoords
enclosedTiles
floodCoords
floodTiles
Same as enclosedTiles, but return coords instead of tiles