layer : number | string | Phaser.TilemapLayer
tilesets :array An array of Tilesets. Source code:
getTileRight(layer, x, y) Gets the tile to the right of the tile coordinates given.Mostly used as an internal function by calculateFaces
imagecollections :array An array of Image Collections. Source code:
enableDebug : boolean If set then console.log is used to dump out useful layer creation debug data.
fill(index, x, y, width, height, layer) Fills the given area with the specified tile. Parameters
forEach(callback, context, x, y, width, height, layer) For each tile in the given area defined by x/y
create(name, width, height, tileWidth, tileHeight, group) → {
tileHeight : number The base height of the tiles in the map (in pixels). Source
shuffle(x, y, width, height, layer) Shuffles a set of tiles in a given area. It will only randomise the
Page 2 of 8