Files
brick-framework/GameCore/Events/DoorStateChangedEvent.cs

11 lines
338 B
C#

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