dtiled ~master (2015-12-09T03:04:19Z)
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