Find the grid position of a tile within this tileset.
Find the pixel position of a tile within this tileset.
Find the pixel position of a tile within this tileset.
Find the properties defined for a tile in this tileset.
Find the grid position of a tile within this tileset.
Number of tile rows in the tileset
Number of tile rows in the tileset
Total number of tiles defined in the tileset
The GID that maps to the first tile in this set
Image used for tiles in this set
Height of source image in pixels
Width of source image in pixels
Buffer between image edge and tiles (in pixels)
Name given to this tileset
Properties assigned to this tileset
Spacing between tiles in image (in pixels)
Maximum height of tiles in this set
Maximum width of tiles in this set
Optional per-tile properties, indexed by the relative ID as a string.
A TilesetData maps GIDs (Global IDentifiers) to tiles.
Each tileset has a range of GIDs that map to the tiles it contains. This range starts at firstGid and extends to the firstGid of the next tileset. The index of a tile within a tileset is given by tile.gid - tileset.firstGid. A tileset uses its image as a 'tile atlas' and may specify per-tile properties.