|
|
|
@ -151,7 +151,7 @@ public: |
|
|
|
|
const std::string_view GetMapDisplayName()const; |
|
|
|
|
const bool HasMoreSpawns()const; //Returns whether or not there are more spawns for the spawn controller.
|
|
|
|
|
const int Spawn_pop(); //Grabs the next spawn controller ID and removes it from the stack.
|
|
|
|
|
const Renderable const*GetOptimizedMap()const; |
|
|
|
|
const Renderable*const GetOptimizedMap()const; |
|
|
|
|
std::string FormatLayerData(std::ostream& os, std::vector<LayerTag>tiles); |
|
|
|
|
std::string FormatSpawnerData(std::ostream& os, std::map<int,SpawnerTag>tiles); |
|
|
|
|
friend std::ostream& operator << (std::ostream& os, Map& rhs); |
|
|
|
@ -328,7 +328,7 @@ class TMXParser{ |
|
|
|
|
spawnControllerIDs.value().pop(); |
|
|
|
|
return nextSpawnId; |
|
|
|
|
} |
|
|
|
|
const Renderable const*Map::GetOptimizedMap()const{ |
|
|
|
|
const Renderable*const Map::GetOptimizedMap()const{ |
|
|
|
|
return optimizedTile; |
|
|
|
|
} |
|
|
|
|
NPCData::NPCData(){} |
|
|
|
|