create(name, width, height, tileWidth, tileHeight, group) → {
getTileLeft(layer, x, y) Gets the tile to the left of the tile coordinates given.Mostly used as an internal function by calculateFaces
layer : number | string | Phaser.TilemapLayer
tileHeight : number The base height of the tiles in the map (in pixels). Source
removeAllLayers() Removes all layers from this tile map. Source code:
getTileBelow(layer, x, y) Gets the tile below the tile coordinates given.Mostly used as an internal function by calculateFaces
game : Phaser.Game A reference to the currently running Game
setLayer(layer) Sets the current layer to the given index. Parameters
fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters
width : number The width of the map (in tiles). Source code:
Page 2 of 8