Constructor


TileObject(tileset: Tileset, tile: number, x: number, y: number, w: number?, h: number?, rotation: number?, flip_x: boolean?, flip_y: boolean?)

Arguments:

tileset: Tileset
tile: number
x: number
y: number
w: number?
h: number?
rotation: number?
flip_x: boolean?
flip_y: boolean?




Methods





Fields


TileObject.rotation: number?

The rotation of the tile


TileObject.tile: number

The gid of the tile in its tileset


TileObject.tile_flip_x: boolean?

Whether the tile is flipped on its x-axis


TileObject.tile_flip_y: boolean?

Whether the tile is flipped on its y-axis


TileObject.tileset: Tileset

The name of the tileset the tile is from



Undocumented