11 lines
338 B
C#
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;
|
|
} |