refactor WorldRegions

This commit is contained in:
MihailRis 2024-09-01 19:44:24 +03:00
parent dfb5baf79b
commit 0f53d5b835
7 changed files with 326 additions and 301 deletions

View file

@ -63,8 +63,6 @@ public:
/// @return world folder
fs::path getFolder() const;
static const inline std::string WORLD_FILE = "world.json";
WorldRegions& getRegions() {
return regions;
}
@ -72,4 +70,6 @@ public:
bool doesWriteLights() const {
return doWriteLights;
}
static const inline std::string WORLD_FILE = "world.json";
};