SupaLidlGame/Items/IItemCollection.cs

16 lines
299 B
C#
Raw Permalink Normal View History

2024-05-30 22:07:37 -07:00
namespace SupaLidlGame.Items;
public interface IItemCollection
{
public System.Collections.Generic.IEnumerable<ItemMetadata> GetItems();
public int Capacity { get; }
}
public interface IItemCollection<T> : IItemCollection
{
public bool Add(T item);
public bool Remove(T item);
}