mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
PagesControl, refactor
This commit is contained in:
parent
41f9c51a27
commit
4ea7bda249
15 changed files with 339 additions and 117 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue