Module dtiled.algorithm

Provides various useful operations on a tile grid.

Functions

Name Description
enclosedCoords Same as enclosedTiles, but return coords instead of tiles
enclosedTiles Find an area of tiles enclosed by 'walls'.
floodCoords Same as floodTiles, but return coordinates instead of the tiles at those coordinates.
floodTiles Returns a range that iterates through tiles based on a flood filling algorithm.

Authors

Copyright

License