1 parent a6309e9 commit 4c8550cCopy full SHA for 4c8550c
2 files changed
tmxlite/include/tmxlite/Tileset.hpp
@@ -84,6 +84,7 @@ namespace tmx
84
ObjectGroup objectGroup;
85
std::string imagePath;
86
Vector2u imageSize;
87
+ std::string type;
88
};
89
90
/*!
tmxlite/src/Tileset.cpp
@@ -258,6 +258,7 @@ void Tileset::parseTileNode(const pugi::xml_node& node)
258
}
259
260
tile.probability = node.attribute("probability").as_int(100);
261
+ tile.type = node.attribute("type").as_string();
262
263
const auto& children = node.children();
264
for (const auto& child : children)
0 commit comments