mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
lua: hud library
This commit is contained in:
parent
ffed4319da
commit
7e553efdec
14 changed files with 140 additions and 31 deletions
|
|
@ -310,6 +310,11 @@ std::shared_ptr<Inventory> InventoryView::getInventory() const {
|
|||
return inventory;
|
||||
}
|
||||
|
||||
|
||||
size_t InventoryView::getSlotsCount() const {
|
||||
return slots.size();
|
||||
}
|
||||
|
||||
void InventoryView::bind(
|
||||
std::shared_ptr<Inventory> inventory,
|
||||
LevelFrontend* frontend,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue