Tile#containsPoint()

containsPoint(x, y) → {boolean} Check if the given x and y world coordinates are within this Tile. Parameters Name Type Description x number The x coordinate to test. y number The y coordinate to test. Returns boolean - True if the coordinates are within this Tile, otherwise false. Source code: tilemap/Tile.js (Line 156)

Tile#collisionCallbackContext

collisionCallbackContext : Object The context in which the collision callback will be called. Source code: tilemap/Tile.js (Line 150)

Tile#collisionCallback

collisionCallback : Function Tile collision callback. Source code: tilemap/Tile.js (Line 144)

Tile#collideUp

collideUp : boolean Indicating collide with any object on the top. Source code: tilemap/Tile.js (Line 132)

Tile#collides

[readonly] collides : boolean True if this tile can collide on any of its faces. Source code: tilemap/Tile.js (Line 331)

Tile#collideRight

collideRight : boolean Indicating collide with any object on the right. Source code: tilemap/Tile.js (Line 126)

Tile#collideLeft

collideLeft : boolean Indicating collide with any object on the left. Source code: tilemap/Tile.js (Line 120)

Tile#collideDown

collideDown : boolean Indicating collide with any object on the bottom. Source code: tilemap/Tile.js (Line 138)

Tile#centerY

centerY Properties: Name Type Description height number The height of the tile in pixels. Source code: tilemap/Tile.js (Line 79)

Tile#centerX

centerX Properties: Name Type Description width number The width of the tile in pixels. Source code: tilemap/Tile.js (Line 74)