mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
move Chunks from Level to Player
This commit is contained in:
parent
b7664b4188
commit
1c18c02092
40 changed files with 450 additions and 220 deletions
|
|
@ -75,7 +75,7 @@ class Hud : public util::ObjectsKeeper {
|
|||
std::unique_ptr<Camera> uicamera;
|
||||
gui::GUI* gui;
|
||||
LevelFrontend& frontend;
|
||||
Player* player;
|
||||
Player& player;
|
||||
|
||||
/// @brief Is any overlay/inventory open
|
||||
bool inventoryOpen = false;
|
||||
|
|
@ -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