new TMXTilesetGroup()
an object containing all tileset
Methods
-
add(tileset)
-
add a tileset to the tileset group
Parameters:
Name Type Description tileset
me.TMXTileset -
getTilesetByGid(gid) → {me.TMXTileset}
-
return the tileset corresponding to the specified id
will throw an exception if no matching tileset is foundParameters:
Name Type Description gid
Number -
getTilesetByIndex(i) → {me.TMXTileset}
-
return the tileset at the specified index
Parameters:
Name Type Description i
Number