Refactored the bossfight_ui so it will work with any description of a boss fight.

This commit is contained in:
Zed A. Shaw 2025-03-02 12:36:08 -05:00
parent 43835da88f
commit a3f6ba3c03
12 changed files with 99 additions and 69 deletions

View file

@ -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
});
}