Create the systems.cpp for the boss fight mini game.

This commit is contained in:
Zed A. Shaw 2025-09-25 11:40:09 -04:00
parent 27b71d4ba3
commit 06f6098281
7 changed files with 67 additions and 38 deletions

View file

@ -13,6 +13,7 @@
#include <fmt/xchar.h>
#include "gui/guecstra.hpp"
#include "game_level.hpp"
#include "boss/system.hpp"
namespace gui {
using namespace components;
@ -544,7 +545,7 @@ namespace gui {
void FSM::next_level(bool bossfight) {
if(bossfight) {
$boss_fight_ui = GameDB::create_bossfight();
$boss_fight_ui = boss::System::create_bossfight();
$boss_fight_ui->init();
} else {
GameDB::create_level();