Files
GameJamDungeon/Zennysoft.Game.Ma.Implementation/Item/IInventory.cs
2026-02-10 18:03:53 -08:00

20 lines
548 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 event Action<string> BroadcastMessage;
public event Action InventoryChanged;
}