Table of Contents

Constructor Tile

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

Tile()

Initializes a new instance of the Tile class.

public Tile()

Tile(int)

Initializes a new Tile value.

public Tile(int tilesetTileID)

Parameters

tilesetTileID int

The 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 int

The ID (or index) of the source tile in the Tileset that represents the TextureRegion to assign for this Tile.

flipHorizontally bool

Indicates whether the Tile should be flipped horizontally when rendered.

flipVertically bool

Indicates whether the Tile should be flipped vertically when rendered.

flipDiagonally bool

Indicates whether the Tile should be flipped diagonally when rendered.