◆ getPosition()
const Vector2f & tson::TileObject::getPosition |
( |
| ) |
const |
|
inline |
Gets the position of the tile in pixels.
- Returns
◆ getPositionInTileUnits()
const Vector2i & tson::TileObject::getPositionInTileUnits |
( |
| ) |
const |
|
inline |
Gets the position of the tile in tile units
- Returns
◆ getTile()
Tile * tson::TileObject::getTile |
( |
| ) |
|
|
inline |
Get a pointer to the related tile
- Returns
◆ initialize()
void tson::TileObject::initialize |
( |
const std::tuple< int, int > & |
posInTileUnits, |
|
|
tson::Tile * |
tile |
|
) |
| |
|
inline |
In cases where the empty constructor is called, this must be called manually for this class to make sense
- Parameters
-
The documentation for this class was generated from the following file: