28 #include "TmxPropertySet.h"
49 void Parse(
const tinyxml2::XMLNode *terrainNode);
52 const std::string &
GetName()
const {
return name; }
const std::string & GetName() const
Get the name of the terrain type.
Definition: TmxTerrain.h:52
This class contains a map of properties.
Definition: TmxPropertySet.h:47
Class to contain information about every terrain in the tileset/terraintypes element.
Definition: TmxTerrain.h:42
void Parse(const tinyxml2::XMLNode *terrainNode)
Parse a terrain type node.
Definition: TmxTerrain.cpp:43
const Tmx::PropertySet & GetProperties() const
Get a set of properties regarding the terrain type.
Definition: TmxTerrain.h:61
int GetTileId() const
Get the local tile-id of the tile that represents the terrain type visually.
Definition: TmxTerrain.h:55