setCollision(left, right, up, down) Sets the collision flags for each side of this tile and updates the interesting faces list.
game : Phaser.Game A reference to the currently running Game
putTileWorldXY(tile, x, y, tileWidth, tileHeight, layer) → {
tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this)
width : number The width of the tile in pixels. Source code:
isInteresting(collides, faces) → {boolean} Is this tile interesting? Parameters
name : string A user defined name given to this Game Object.This value isn't ever used internally by Phaser, it is meant
centerX Properties: Name Type Description
kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive
anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top
Page 8 of 25