Now all of the old LevelManager code is gone. Next phase is to rename the Game:: to something better then test the shit out of it.
This commit is contained in:
parent
a83ee77eea
commit
c46927ea10
7 changed files with 91 additions and 126 deletions
|
@ -539,6 +539,9 @@ namespace gui {
|
|||
}
|
||||
|
||||
void FSM::next_level() {
|
||||
dbc::log("current_level: Yep, next is called...");
|
||||
Game::create_level();
|
||||
|
||||
$status_ui.update_level();
|
||||
$combat_ui.update_level();
|
||||
$main_ui.update_level();
|
||||
|
|
|
@ -11,8 +11,8 @@ namespace gui {
|
|||
public:
|
||||
bool active = false;
|
||||
guecs::UI $gui;
|
||||
DinkyECS::Entity $temp_loot;
|
||||
DinkyECS::Entity $target;
|
||||
DinkyECS::Entity $temp_loot = DinkyECS::NONE;
|
||||
DinkyECS::Entity $target = DinkyECS::NONE;
|
||||
|
||||
LootUI();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue