system : Phaser.Physics.Ninja
new Tile(body, x, y, width, height, type) Ninja Physics Tile constructor.A Tile is defined by its
[readonly] height : number The height. Source
setType(id) Tiles cannot collide with the world bounds, it's up to you to keep them where you want them. But we need this API stub to
x : number The x position. Source code:
collideWorldBounds() Tiles cannot collide with the world bounds, it's up to you to keep them where you want them. But we need this API
[readonly] type : number The type of this Tile. Source
[readonly] yw Properties: Name Type
pos : Phaser.Point The position of this object.
[readonly] bottom : number The bottom value of this Body (same as Body.y + Body.height)
Page 1 of 3