#include #include "TMXParser.h" int main(){ TMXParser parser("00_test_room.tmx"); Map mData = parser.GetData(); XMLTag mapTag = mData.MapData; double version = mapTag.GetDouble("version"); bool isInfinite = mapTag.GetBool("infinite"); int TOTAL_LAYER_COUNT = mapTag.GetInteger("nextlayerid"); int X_TILES_COUNT = mapTag.GetInteger("width"); int Y_TILES_COUNT = mapTag.GetInteger("height"); std::vector>> tileData; for (int layer=0;layer> mapTileGrid; for (int y=0;y row; for (int x=0;x