Add attribute system with core stats and gameplay components
This commit is contained in:
11
GameCore/Events/EntitySpawnedEvent.cs
Normal file
11
GameCore/Events/EntitySpawnedEvent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user