Add ammo consumption and item pickup systems

This commit is contained in:
2025-10-29 00:13:19 +01:00
parent 56ffa8e126
commit 09fa293c81
8 changed files with 113 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
using GameCore.ECS;
using GameCore.Events.Interfaces;
namespace GameCore.Events;
public readonly struct ItemPickupAttemptEvent(
Entity picker,
Entity itemEntity,
string itemId,
int quantity
) : IEvent
{
public readonly Entity Picker = picker;
public readonly Entity ItemEntity = itemEntity;
public readonly string ItemId = itemId;
public readonly int Quantity = quantity;
}