True if T is a static or dynamic array type.
Generate a mask from a region of tiles based on a condition.
Same as createMask, but specify the offset of the mask's center rather than the top-left corner.
Convenience function to wrap a RectGrid around a 2D array.
A grid of rectangular tiles. Wraps a 2D array to provide grid-based access to tiles.
<a href="http://opensource.org/licenses/MIT">MIT</a>
Copyright © 2015, Ryan Roden-Corrent
A grid wraps a 2D array to provide specialized grid-based functionality.
Currently, the only grid type is RectGrid, which can serve as the base for an orthogonal or isometric map. HexGrid may be added in a later version to support hexagonal maps.