Add door interaction system with state management and event publishing
This commit is contained in:
10
GameCore/Events/DoorLockedEvent.cs
Normal file
10
GameCore/Events/DoorLockedEvent.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using GameCore.ECS;
|
||||
using GameCore.Events.Interfaces;
|
||||
|
||||
namespace GameCore.Events;
|
||||
|
||||
public readonly struct DoorLockedEvent(Entity doorEntity, Entity interactor) : IEvent
|
||||
{
|
||||
public readonly Entity DoorEntity = doorEntity;
|
||||
public readonly Entity Interactor = interactor;
|
||||
}
|
||||
Reference in New Issue
Block a user