mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
added hud.is_player_inventory_open
This commit is contained in:
parent
cb1b113181
commit
9ad21460a2
4 changed files with 14 additions and 0 deletions
|
|
@ -688,6 +688,10 @@ bool Hud::isInventoryOpen() const {
|
|||
return inventoryOpen;
|
||||
}
|
||||
|
||||
bool Hud::isPlayerInventoryOpen() const {
|
||||
return inventoryView != nullptr;
|
||||
}
|
||||
|
||||
bool Hud::isPause() const {
|
||||
return pause;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue