intersects(x, y, right, bottom) Check for intersection with this tile. Parameters
collisionCallback : Function Tile collision callback. Source code:
copy(tile) Copies the tile data and properties from the given tile to this tile. Parameters
setCollision(left, right, up, down) Sets the collision flags for each side of this tile and updates the interesting faces list.
centerX Properties: Name Type Description
width : number The width of the tile in pixels. Source code:
collideDown : boolean Indicating collide with any object on the bottom. Source
isInteresting(collides, faces) → {boolean} Is this tile interesting? Parameters
collideLeft : boolean Indicating collide with any object on the left. Source
alpha : number The alpha value at which this tile is drawn to the canvas. Source
Page 1 of 4