swap(tileA, tileB, x, y, width, height, layer) Scans the given area for tiles with an index matching tileA
scaleMin : Phaser.Point The minimum scale this Game
[readonly] right : number The sum of the x and width properties.
autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame
<static> parse(game, key, tileWidth, tileHeight, width
new Tile(layer, index, x, y, width, height) A Tile is a representation of a single tile within the Tilemap. Parameters
preUpdate() Automatically called by World.preUpdate. Source code:
key : string The key of this map data in the Phaser.Cache. Source code:
[readonly] top : number The y value. Source
hasTile(x, y, layer) → {boolean} Checks if there is a tile at the given location. Parameters
Page 19 of 25