Function TilesetData.tileCol
Find the grid position of a tile within this tileset.
Throws if gid
is out of range for this tileset.
Prototype
int tileCol( uint gid );
Parameters
Name | Description |
---|---|
gid | GID of tile. Does not need to be cleaned of flags. |
Returns
0-indexed column of tile
Authors
Copyright
Copyright © 2015, Ryan Roden-Corrent