Variable TilesetData.tileproperties
Optional per-tile properties
, indexed by the relative ID as a string.
Note: The ID is not the same as the GID. The ID is calculated relative to the
firstgid of the tileset the tile belongs to.
For example, if a tile has GID 25 and belongs to the tileset with firstgid = 10, then its
properties
are given by tileset.tileproperties["15"].
A tile with no special properties
will not have an index here.
If no tiles have special properties
, this field is not populated at all.
Declaration
struct TilesetData
{
// ...
string[string][string]
tileproperties;
// ...
}
Authors
Copyright
Copyright © 2015, Ryan Roden-Corrent