World builder now loads the tile map json and usese the keys to figure out how to randomize the floor configurations.
This commit is contained in:
parent
6b4bc6cc11
commit
03c5546cdf
12 changed files with 45 additions and 39 deletions
|
@ -12,6 +12,8 @@ struct Config {
|
|||
Config(nlohmann::json config, std::string src_path)
|
||||
: $config(config), $src_path(src_path) {}
|
||||
|
||||
std::vector<std::string> keys();
|
||||
|
||||
nlohmann::json &operator[](const std::string &key);
|
||||
|
||||
std::wstring wstring(const std::string main_key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue