Implemented configurable randomization in the world builder, and then got the beginning of devices to work for the next part of going down a level through stairs.
This commit is contained in:
parent
7acbd0379f
commit
d2162910f6
10 changed files with 73 additions and 36 deletions
3
save.cpp
3
save.cpp
|
@ -88,8 +88,9 @@ void save::load_configs(DinkyECS::World &world) {
|
|||
Config enemies("./assets/enemies.json");
|
||||
Config items("./assets/items.json");
|
||||
Config tiles("./assets/tiles.json");
|
||||
Config devices("./assets/devices.json");
|
||||
|
||||
world.set_the<GameConfig>({
|
||||
game, enemies, items, tiles
|
||||
game, enemies, items, tiles, devices
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue