Add event publishing for inventory and combat interactions
This commit is contained in:
10
GameCore/Events/ProjectileImpactEvent.cs
Normal file
10
GameCore/Events/ProjectileImpactEvent.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using GameCore.ECS;
|
||||
using GameCore.Events.Interfaces;
|
||||
|
||||
namespace GameCore.Events;
|
||||
|
||||
public readonly struct ProjectileImpactEvent(Entity projectile, HitResult hit) : IEvent
|
||||
{
|
||||
public readonly Entity ProjectileEntity = projectile;
|
||||
public readonly HitResult Hit = hit;
|
||||
}
|
||||
Reference in New Issue
Block a user