Create the systems.cpp for the boss fight mini game.
This commit is contained in:
parent
27b71d4ba3
commit
06f6098281
7 changed files with 67 additions and 38 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue