17 lines
343 B
C#
17 lines
343 B
C#
using Zennysoft.Game.Implementation;
|
|
|
|
namespace Zennysoft.Ma.Adapter;
|
|
|
|
public interface IInventory
|
|
{
|
|
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();
|
|
}
|