mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
refactor
This commit is contained in:
parent
f0b6521c76
commit
c4170c07c5
21 changed files with 255 additions and 232 deletions
|
|
@ -73,7 +73,7 @@ class Hud : public util::ObjectsKeeper {
|
|||
Assets* assets;
|
||||
std::unique_ptr<Camera> uicamera;
|
||||
gui::GUI* gui;
|
||||
LevelFrontend* frontend;
|
||||
LevelFrontend& frontend;
|
||||
Player* player;
|
||||
|
||||
/// @brief Is any overlay/inventory open
|
||||
|
|
@ -130,7 +130,7 @@ class Hud : public util::ObjectsKeeper {
|
|||
void showExchangeSlot();
|
||||
void updateWorldGenDebugVisualization();
|
||||
public:
|
||||
Hud(Engine* engine, LevelFrontend* frontend, Player* player);
|
||||
Hud(Engine* engine, LevelFrontend& frontend, Player* player);
|
||||
~Hud();
|
||||
|
||||
void update(bool hudVisible);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue