BossFightUI is not managed by the level manager since it is kind of a new level, just with a different mini game.
This commit is contained in:
parent
a3f6ba3c03
commit
ca18422930
12 changed files with 49 additions and 67 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <memory>
|
||||
#include "spatialmap.hpp"
|
||||
#include "components.hpp"
|
||||
#include "boss_fight_ui.hpp"
|
||||
|
||||
using std::shared_ptr;
|
||||
|
||||
|
@ -32,6 +33,7 @@ class LevelManager {
|
|||
|
||||
LevelManager();
|
||||
|
||||
shared_ptr<gui::BossFightUI> create_bossfight(shared_ptr<DinkyECS::World> prev_world);
|
||||
size_t create_level(shared_ptr<DinkyECS::World> prev_world = nullptr);
|
||||
GameLevel &next();
|
||||
GameLevel &previous();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue