#pragma once #include "olcUTIL_Geometry2D.h" struct XMLTag; enum MapName{ LEVEL1, LEVEL2, CAMPAIGN_1_1, }; struct TileCollisionData{ geom2d::rectcollision; }; struct TilesetData{ Renderable*tileset; std::mapforegroundTiles; std::mapupperForegroundTiles; std::mapcollision; std::mapstaircaseTiles; }; struct TileRenderData{ Decal*tileset; vi2d pos; vi2d tileSheetPos; }; struct TileGroup{ private: geom2d::rectrange; std::vectortiles; int minX=0,minY=0,maxX=0,maxY=0; public: geom2d::rectGetRange(); std::vector&GetTiles(); void InsertTile(TileRenderData tile); bool playerBehind=false; };