Implement inventory system with item management and pickup functionality
This commit is contained in:
7
GameCore/Inventory/Item.cs
Normal file
7
GameCore/Inventory/Item.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace GameCore.Inventory;
|
||||
|
||||
public struct Item(string itemId, int quantity)
|
||||
{
|
||||
public string ItemId { get; set; } = itemId;
|
||||
public int Quantity { get; set; } = quantity;
|
||||
}
|
||||
Reference in New Issue
Block a user