Implement inventory system with item management and pickup functionality
This commit is contained in:
11
GameCore/Events/AddItemToInventoryEvent.cs
Normal file
11
GameCore/Events/AddItemToInventoryEvent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using GameCore.ECS;
|
||||
using GameCore.Events.Interfaces;
|
||||
using GameCore.Inventory;
|
||||
|
||||
namespace GameCore.Events;
|
||||
|
||||
public readonly struct AddItemToInventoryEvent(Entity target, Item item) : IEvent
|
||||
{
|
||||
public readonly Entity Target = target;
|
||||
public readonly Item Item = item;
|
||||
}
|
||||
7
GameCore/Events/PlayerJumpEvent.cs
Normal file
7
GameCore/Events/PlayerJumpEvent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using GameCore.Events.Interfaces;
|
||||
|
||||
namespace GameCore.Events;
|
||||
|
||||
public readonly struct PlayerJumpEvent : IEvent
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user