Separate out the major UIs to get ready for their development, and enable debug button.

This commit is contained in:
Zed A. Shaw 2025-02-13 10:55:45 -05:00
parent 7eec67ffc8
commit 9b3b81683a
11 changed files with 154 additions and 116 deletions

14
status_ui.hpp Normal file
View file

@ -0,0 +1,14 @@
#pragma once
#include "panel.hpp"
#include "levelmanager.hpp"
#include "constants.hpp"
namespace gui {
class StatusUI : public Panel {
public:
GameLevel $level;
StatusUI(GameLevel level);
void create_render();
void update_level(GameLevel &level) { $level = level; }
};
}