Struct to store information about a specific tile in the map layer. More...
#include <TmxMapTile.h>
Public Member Functions | |
MapTile () | |
Default constructor. | |
MapTile (unsigned _gid, int _tilesetFirstGid, unsigned _tilesetId) | |
Will take a gid and read the attributes from the first two bits of it. More... | |
Public Attributes | |
int | tilesetId |
Tileset id. | |
unsigned | id |
Id. | |
unsigned | gid |
Gid. | |
bool | flippedHorizontally |
True when the tile should be drawn flipped horizontally. | |
bool | flippedVertically |
True when the tile should be drawn flipped vertically. | |
bool | flippedDiagonally |
True when the tile should be drawn flipped diagonally. | |
Struct to store information about a specific tile in the map layer.
|
inline |
Will take a gid and read the attributes from the first two bits of it.