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
tilesetTileID
intThe 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
tilesetTileID
intThe ID (or index) of the source tile in the Tileset that represents the TextureRegion to assign for this Tile.
flipHorizontally
boolIndicates whether the Tile should be flipped horizontally when rendered.
flipVertically
boolIndicates whether the Tile should be flipped vertically when rendered.
flipDiagonally
boolIndicates whether the Tile should be flipped diagonally when rendered.