implement SingleItemStack, prepare for combine master
This commit is contained in:
parent
9b3701b49c
commit
3d6b71ef0c
|
@ -10,7 +10,7 @@ namespace ColdMint.scripts.item;
|
||||||
/// <para>Item stack of single item</para>
|
/// <para>Item stack of single item</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
//maybe we'd move this into inventory namespace
|
//maybe we'd move this into inventory namespace
|
||||||
public struct SingleItemStack(IItem_New item) : IItemStack
|
public class SingleItemStack(IItem_New item) : IItemStack
|
||||||
{
|
{
|
||||||
public IItem_New Item { get; init; } = item;
|
public IItem_New Item { get; init; } = item;
|
||||||
|
|
||||||
|
@ -29,13 +29,28 @@ public struct SingleItemStack(IItem_New item) : IItemStack
|
||||||
|
|
||||||
public int TakeFrom(IItemStack itemStack) => 0;
|
public int TakeFrom(IItemStack itemStack) => 0;
|
||||||
|
|
||||||
|
public IItem_New? GetItem()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public IItem_New? PickItem()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public IItemStack? PickItems(int value)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
public int RemoveItem(int number)
|
public int RemoveItem(int number)
|
||||||
{
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ClearStack()
|
public void ClearStack()
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user