Represents a single tile in a tile map.
More...
|
| Tile (int textureID, Color color) |
| Initializes a new instance of the T:MidnightBlue.Tile class More...
|
|
| Tile () |
| Initializes a new instance of the T:MidnightBlue.Tile class. More...
|
|
|
int | ID [get, protected set] |
| Gets or sets the tile map region ID to use for this tile. More...
|
|
Color | TintColor [get, protected set] |
| Gets or sets the color of the tint. More...
|
|
TileFlag | Flag [get, set] |
| Gets or sets the tile flag for collision detection. More...
|
|
Represents a single tile in a tile map.
§ Tile() [1/2]
MB2D.Tile.Tile |
( |
int |
textureID, |
|
|
Color |
color |
|
) |
| |
|
inline |
Initializes a new instance of the T:MidnightBlue.Tile class
- Parameters
-
textureID | ID of the texture region in the tile map to use for this tile, i.e. Grass or water. |
color | Color tint to apply to the tile. |
§ Tile() [2/2]
Initializes a new instance of the T:MidnightBlue.Tile class.
§ Flag
Gets or sets the tile flag for collision detection.
The flag.
§ ID
Gets or sets the tile map region ID to use for this tile.
The tile map region ID.
§ TintColor
Color MB2D.Tile.TintColor |
|
getprotected set |
Gets or sets the color of the tint.
The color of the tint.
The documentation for this class was generated from the following file: