Constructor Tile
Tile()
Initializes a new instance of the Tile class.
public Tile()
Tile(int)
Initializes a new Tile value.
public Tile(int tilesetTileID)
Parameters
tilesetTileIDintThe ID (or index) of the source tile in the Tileset that represents the TextureRegion to assign for this Tile.
Tile(int, bool, bool, bool)
Initializes a new Tile value.
public Tile(int tilesetTileID, bool flipHorizontally, bool flipVertically, bool flipDiagonally)
Parameters
tilesetTileIDintThe ID (or index) of the source tile in the Tileset that represents the TextureRegion to assign for this Tile.
flipHorizontallyboolIndicates whether the Tile should be flipped horizontally when rendered.
flipVerticallyboolIndicates whether the Tile should be flipped vertically when rendered.
flipDiagonallyboolIndicates whether the Tile should be flipped diagonally when rendered.