A class used for used to specify an offset in pixels, to be applied when drawing a tile from the related tileset. More...
#include <TmxTileOffset.h>
Public Member Functions | |
void | Parse (const tinyxml2::XMLNode *tileOffsetNode) |
Parses a tileoffset element. | |
int | GetX () const |
Get the value of the x attribute of the tile offset. Horizontal offset in pixels. | |
int | GetY () const |
Get the value of the y attribute of the tile offset. Vertical offset in pixels (positive is down). | |
A class used for used to specify an offset in pixels, to be applied when drawing a tile from the related tileset.
When not present, no offset is applied.