new Tile(layer, index, x, y, width, height) A Tile is a representation of a single tile within the Tilemap. Parameters
setCollisionCallback(callback, context) Set a callback to be called when this tile is hit by an object.The callback must true
[readonly] left : number The x value in pixels. Source
[readonly] top : number The y value. Source
worldX Properties: Name Type Description
index : number The index of this tile within the map data corresponding to the tileset, or -1 if this represents a blank/null tile
collisionCallbackContext : Object The context in which the collision callback will be called.
height : number The height of the tile in pixels. Source code:
centerY Properties: Name Type Description
faceRight : boolean Is the right of this tile an interesting edge? Source
Page 4 of 4