setTileLocationCallback(x, y, width, height, callback, callbackContext, layer) Sets a global collision
createBlankLayer(name, width, height, tileWidth, tileHeight, group) → {
createLayer(layer, width, height, group) → {
getTileWorldXY(x, y, tileWidth, tileHeight, layer, nonNull)
currentLayer : number The current layer. Source code:
tiles :array The super array of Tiles. Source code:
widthInPixels : number The width of the map in pixels based on width * tileWidth. Source
getLayerIndex(name) → {number} Gets the layer index based on its name. Parameters
copy(x, y, width, height, layer) → {array} Copies all of the tiles
getTile(x, y, layer, nonNull) → {
Page 5 of 8