Have a basic map prototype gui working.

This commit is contained in:
Zed A. Shaw 2025-03-20 04:13:22 -04:00
parent 8b3573b01d
commit a53f81715d
4 changed files with 60 additions and 3 deletions

View file

@ -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);