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