Have a basic map prototype gui working.
This commit is contained in:
parent
8b3573b01d
commit
a53f81715d
4 changed files with 60 additions and 3 deletions
|
@ -43,6 +43,7 @@ namespace gui {
|
|||
$level.world->set_the<Debug>({});
|
||||
|
||||
$main_ui.init();
|
||||
$map_ui.init();
|
||||
|
||||
$combat_ui.init();
|
||||
$status_ui.init();
|
||||
|
@ -320,6 +321,7 @@ namespace gui {
|
|||
void FSM::render() {
|
||||
if(in_state(State::MAPPING)) {
|
||||
$window.clear();
|
||||
$map_ui.render($window);
|
||||
} else if(in_state(State::NEXT_LEVEL)) {
|
||||
$window.clear();
|
||||
$boss_fight_ui->render($window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue