lua: hud library

This commit is contained in:
MihailRis
2024-02-16 13:57:03 +03:00
parent ffed4319da
commit 7e553efdec
14 changed files with 140 additions and 31 deletions
+5
View File
@@ -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,