Public Member Functions | |
void | init () |
TileSet (const Common::Path &path, rapidxml::xml_node< char > *node) | |
void | load (const Common::Path &path, rapidxml::xml_node< char > *node) |
void | draw (const Vector2i &pos, const TileInfo &tile) |
void | preDraw (const Vector2i &pos, const TileInfo &tile, Graphics::ManagedSurface *surf) |
Public Attributes | |
Common::String | _name |
Common::Path | _loc |
GidFormat | _firstGid |
int | _tileW |
int | _tileH |
int | _totalRows |
int | _totalCols |
pyrodactyl::image::Image | _img |
Rect | _clip |