mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
refactor
This commit is contained in:
parent
5e55e20ec4
commit
d745a34657
33 changed files with 209 additions and 205 deletions
|
|
@ -70,8 +70,8 @@ public:
|
|||
};
|
||||
|
||||
class Hud : public util::ObjectsKeeper {
|
||||
Engine* engine;
|
||||
Assets* assets;
|
||||
Engine& engine;
|
||||
Assets& assets;
|
||||
std::unique_ptr<Camera> uicamera;
|
||||
gui::GUI* gui;
|
||||
LevelFrontend& frontend;
|
||||
|
|
@ -131,7 +131,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