Quick refactor of the config system to make it easier to refactor config.cpp/hpp later.
This commit is contained in:
parent
47f659ae8e
commit
e523aa8b02
29 changed files with 138 additions and 140 deletions
|
|
@ -8,7 +8,7 @@ using namespace fmt;
|
|||
using namespace components;
|
||||
|
||||
TEST_CASE("test the loot ui", "[loot]") {
|
||||
Config items("assets/items.json");
|
||||
auto items = settings::get("assets/items.json");
|
||||
DinkyECS::World world;
|
||||
auto torch = world.entity();
|
||||
auto& data = items["TORCH_BAD"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue