A class used for storing information about each of the tilesets. More...
#include <TmxTileset.h>
Public Member Functions | |
void | Parse (const tinyxml2::XMLNode *tilesetNode, const std::string &file_path) |
Parse a tileset element. | |
int | GetFirstGid () const |
Returns the global id of the first tile. | |
const std::string & | GetName () const |
Returns the name of the tileset. | |
int | GetTileWidth () const |
Get the width of a single tile. | |
int | GetTileHeight () const |
Get the height of a single tile. | |
int | GetMargin () const |
Get the margin of the tileset. | |
int | GetSpacing () const |
Get the spacing of the tileset. | |
int | GetTileCount () const |
Get the number of tiles in this tileset(since 0.13) | |
int | GetColumns () const |
Get the number of columns in the tileset(since 0.15) | |
const Tmx::TileOffset * | GetTileOffset () const |
Get the offset of tileset. | |
const Tmx::Image * | GetImage () const |
Returns a variable containing information about the image of the tileset. More... | |
const Tmx::Tile * | GetTile (int index) const |
Returns a a single tile of the set. | |
const std::vector< Tmx::Tile * > & | GetTiles () const |
Returns the whole tile collection. | |
const Tmx::PropertySet & | GetProperties () const |
Get a set of properties regarding the tile. | |
A class used for storing information about each of the tilesets.
A tileset is a collection of tiles, of whom each may contain properties. This class has a property set.
|
inline |
Returns a variable containing information about the image of the tileset.