map generator: use variable to avoir strings repetition

This commit is contained in:
arthur.jamet
2021-06-03 16:40:12 +02:00
parent 53c4920bdf
commit c7ab528e86
3 changed files with 90 additions and 13 deletions
+21
View File
@@ -132,6 +132,27 @@ namespace BBM
static MapBlock cleanBreakable(MapBlock map, int width, int height);
static const std::string assetsPath;
static const std::string wallAssetsPath;
static const std::string imageExtension;
static const std::string objExtension;
static const std::string unbreakableWallPath;
static const std::string breakableWallPath;
static const std::string floorPath;
static const std::string stairsPath;
static const std::string bumperPath;
static const std::string secondFloorPath;
static const std::string holePath;
public: