Files
GameJamDungeon/Zennysoft.Game.Ma.Implementation/Item/IInventory.cs

19 lines
488 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 void Sort(EquipableItem currentWeapon, EquipableItem currentArmor, EquipableItem currentAccessory);
public event Action<string> BroadcastMessage;
}