mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
refactor
This commit is contained in:
parent
e153e1fbd7
commit
b4abecc764
8 changed files with 29 additions and 12 deletions
|
|
@ -113,6 +113,7 @@ class Hud : public util::ObjectsKeeper {
|
|||
bool showContentPanel = true;
|
||||
/// @brief Provide cheat controllers to the debug panel
|
||||
bool allowDebugCheats = true;
|
||||
bool debug = false;
|
||||
/// @brief UI element will be dynamicly positioned near to inventory or in screen center
|
||||
std::shared_ptr<gui::UINode> secondUI;
|
||||
|
||||
|
|
@ -193,6 +194,8 @@ public:
|
|||
void onRemove(const HudElement& element);
|
||||
void remove(const std::shared_ptr<gui::UINode>& node);
|
||||
|
||||
void setDebug(bool flag);
|
||||
|
||||
Player* getPlayer() const;
|
||||
|
||||
std::shared_ptr<Inventory> getBlockInventory();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue