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

11 lines
335 B
C#

using GameCore.ECS;
using GameCore.Events.Interfaces;
namespace GameCore.Events;
public readonly struct EntitySpawnedEvent(Entity newEntity, Entity owner, string archetypeId) : IEvent
{
public readonly Entity NewEntity = newEntity;
public readonly Entity Owner = owner;
public readonly string ArchetypeId = archetypeId;
}