Global flag that indicates if the tile is flipped
True if the tile is flipped anti-diagonally
True if the tile is flipped horizontally
True if the tile is flipped vertically
tileId
tileset
Gets the bottom coordinate of the bounds.
The bottom coordinate.
Gets the center position of the bounds on the x axis.
The center x coordinate.
Gets the center position of the bounds on the y axis.
The center y coordinate.
Gets the height of the bounds.
The height.
Sets the height of the bounds.
The new height.
Gets the left coordinate of the bounds.
The left coordinate.
Gets the right coordinate of the bounds.
The right coordinate.
Gets the top coordinate of the bounds.
The top coordinate.
Gets the width of the bounds.
The width.
Sets the width of the bounds.
The new width.
Gets the x position of the bounds.
The x position.
Sets the x position of the bounds.
The new x position.
Gets the y position of the bounds.
The y position.
Sets the y position of the bounds.
The new y position.
Adds the given bounds to the bounds definition.
The bounds to add.
Optional
clear: boolean = falseWhether to reset the bounds before adding the new bounds.
Adds the given quad coordinates to this bounds definition, multiplied by the given matrix.
The left x coordinate of the quad.
The top y coordinate of the quad.
The right x coordinate of the quad.
The bottom y coordinate of the quad.
Optional
m: Matrix2dAn optional transform to apply to the given coordinates.
return a renderable object for this Tile object
Optional
settings: objectsee Sprite
a me.Sprite object
Returns true if the two bounds intersect.
The bounds to check for intersection.
True if the bounds overlap, otherwise false.
Shifts the bounds to the given x, y position or vector.
Optional
y: numberThe y coordinate if the first parameter is a number.
Translates the bounds by the given point or vector.
Optional
y: numberThe y coordinate if the first parameter is a number.
a basic tile object