using GameCore.ECS; using GameCore.Events.Interfaces; using GameCore.Interaction; namespace GameCore.Events; public readonly struct DoorStateChangedEvent(Entity doorEntity, DoorComponent.DoorState newState) : IEvent { public readonly Entity DoorEntity = doorEntity; public readonly DoorComponent.DoorState NewState = newState; }