Add door interaction system with state management and event publishing

This commit is contained in:
2025-10-30 00:57:17 +01:00
parent 5ee7945bfc
commit 86afb57809
9 changed files with 266 additions and 0 deletions

View 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;
}