Refactored the bossfight_ui so it will work with any description of a boss fight.
This commit is contained in:
parent
43835da88f
commit
a3f6ba3c03
12 changed files with 99 additions and 69 deletions
3
save.cpp
3
save.cpp
|
@ -35,8 +35,9 @@ void save::load_configs(DinkyECS::World &world) {
|
|||
Config items("./assets/items.json");
|
||||
Config tiles("./assets/tiles.json");
|
||||
Config devices("./assets/devices.json");
|
||||
Config bosses("./assets/bosses.json");
|
||||
|
||||
world.set_the<GameConfig>({
|
||||
game, enemies, items, tiles, devices
|
||||
game, enemies, items, tiles, devices, bosses
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue