Function TilesetData.tileProperties

Find the properties defined for a tile in this tileset.

Throws if gid is out of range for this tileset.

Prototype

string[string] tileProperties(
  uint gid
);

Parameters

NameDescription
gid GID of tile. Does not need to be cleaned of flags.

Returns

AA of key-value property pairs, or null if no properties defined for this tile.

Authors

rcorre

Copyright

Copyright © 2015, Ryan Roden-Corrent

License

MIT