PagesControl, refactor

This commit is contained in:
MihailRis
2023-11-20 03:31:18 +03:00
parent 41f9c51a27
commit 4ea7bda249
15 changed files with 339 additions and 117 deletions
+2 -1
View File
@@ -34,11 +34,12 @@ class HudRenderer {
bool pause = false;
std::shared_ptr<gui::UINode> debugPanel;
std::shared_ptr<gui::UINode> pauseMenu;
gui::GUI* gui;
public:
HudRenderer(Engine* engine, Level* level);
~HudRenderer();
void update();
void drawInventory(const GfxContext& ctx, Player* player);
void draw(const GfxContext& context);
void drawDebug(int fps, bool occlusion);