mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:05:34 +00:00
UI Inventory management
This commit is contained in:
parent
f4f193af7a
commit
c9abac3dc1
20 changed files with 262 additions and 72 deletions
|
|
@ -59,8 +59,8 @@ public partial class GameManager : Node2D
|
|||
|
||||
if (_inventoryManager != null && _hud != null)
|
||||
{
|
||||
_inventoryManager.ItemAdded += (item) => _hud.AddInventoryItem(item);
|
||||
_inventoryManager.ItemRemoved += (item) => _hud.RemoveInventoryItem(item);
|
||||
_inventoryManager.ItemAdded += (item, currentAmount) => _hud.AddInventoryItem(item, currentAmount);
|
||||
_inventoryManager.ItemRemoved += (item, currentAmount) => _hud.RemoveInventoryItem(item, currentAmount);
|
||||
}
|
||||
|
||||
if (_player != null && _hud != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue