#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::mapcollision; }; struct TileRenderData{ Decal*tileset; vi2d pos; vi2d tileSheetPos; }; struct TileGroup{ private: geom2d::rectrange; std::vectortiles; public: geom2d::rectGetRange(); std::vector&GetTiles(); void InsertTile(TileRenderData tile); bool playerBehind=false; };