mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-06 01:55:54 +00:00
Visualization for ammo
This commit is contained in:
parent
ed6e659d23
commit
07ab64a0bf
12 changed files with 252 additions and 102 deletions
|
|
@ -81,8 +81,10 @@ public partial class GameManager : Node2D
|
|||
|
||||
if (_inventoryManager != null && _hud != null)
|
||||
{
|
||||
_inventoryManager.ItemAdded += (item, currentAmount) => _hud.AddInventoryItem(item, currentAmount);
|
||||
_inventoryManager.ItemRemoved += (item, currentAmount) => _hud.RemoveInventoryItem(item, currentAmount);
|
||||
//_inventoryManager.ItemAdded += (item, currentAmount) => _hud.AddInventoryItem(item, currentAmount);
|
||||
//_inventoryManager.ItemRemoved += (item, currentAmount) => _hud.RemoveInventoryItem(item, currentAmount);
|
||||
|
||||
_inventoryManager.WeaponEquip += key => _hud.EquipWeapon(key);
|
||||
}
|
||||
|
||||
PlayerRespawned += OnPlayerRespawned;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue