Files
GameJamDungeon/Zennysoft.Game.Ma.Implementation/Item/IInventory.cs
Zenny 230b47061d Add item spawn menu
Fix game over bug
Start adding more implementation for jewels
2026-02-11 15:25:20 -08:00

22 lines
577 B
C#

namespace Zennysoft.Ma.Adapter;
public interface IInventory
{
public bool PickUpItem(InventoryItem item);
public List<InventoryItem> Items { get; }
public bool TryAdd(InventoryItem inventoryItem);
public bool TryInsert(InventoryItem inventoryItem, int index);
public void Remove(InventoryItem inventoryItem);
public bool Sort(EquipableItem currentWeapon, EquipableItem currentArmor, EquipableItem currentAccessory, EquipableItem ammo);
public bool AtCapacity();
public event Action<string> BroadcastMessage;
public event Action InventoryChanged;
}