Implement inventory system with item management and pickup functionality
This commit is contained in:
10
GameCore/Inventory/PickupComponent.cs
Normal file
10
GameCore/Inventory/PickupComponent.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using GameCore.ECS.Interfaces;
|
||||
|
||||
namespace GameCore.Inventory;
|
||||
|
||||
public class PickupComponent : IComponent
|
||||
{
|
||||
public string ItemId { get; set; }
|
||||
public int Quantity { get; set; } = 1;
|
||||
public bool IsInstantUse { get; set; } = false;
|
||||
}
|
||||
Reference in New Issue
Block a user