#pragma once #include "TSXParser.h" #include "olcUTIL_Geometry2D.h" enum MapName{ LEVEL1, LEVEL2, CAMPAIGN_1_1, }; struct TilesetData{ Renderable*tileset; std::mapforegroundTiles; }; 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; };