Class: TMXTilesetGroup

me. TMXTilesetGroup

new TMXTilesetGroup()

an object containing all tileset
Source:
TMXTileset.js, line 261

Methods

add(tileset)

add a tileset to the tileset group
Parameters:
Name Type Description
tileset me.TMXTileset
Source:
TMXTileset.js, line 271

getTilesetByGid(gid) → {me.TMXTileset}

return the tileset corresponding to the specified id
will throw an exception if no matching tileset is found
Parameters:
Name Type Description
gid Number
Source:
TMXTileset.js, line 295
Returns:
corresponding tileset
Type
me.TMXTileset

getTilesetByIndex(i) → {me.TMXTileset}

return the tileset at the specified index
Parameters:
Name Type Description
i Number
Source:
TMXTileset.js, line 283
Returns:
corresponding tileset
Type
me.TMXTileset
Copyright © 2011 - 2017, Olivier Biot, Jason Oster, Aaron McLeod
Documentation generated by JSDoc 3.4.0 on 2017-02-28T11:37:41+08:00 using the DocStrap template modified by codename-.