setLayer(layer) Sets the current layer to the given index. Parameters
orientation : string The orientation of the map data (as specified in Tiled), usually 'orthogonal'.
layer : number | string | Phaser.TilemapLayer
game : Phaser.Game A reference to the currently running Game
create(name, width, height, tileWidth, tileHeight, group) → {
removeAllLayers() Removes all layers from this tile map. Source code:
[static] EAST : number Source code:
format : number The format of the map data, either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON.
getTileBelow(layer, x, y) Gets the tile below the tile coordinates given.Mostly used as an internal function by calculateFaces
tilesets :array An array of Tilesets. Source code:
Page 1 of 8