Initial Combat Implementation

This commit is contained in:
Luis Gonzalez
2026-05-31 21:35:12 -07:00
parent 7fa77ce821
commit 1f647dd5e1
166 changed files with 93337 additions and 91 deletions
@@ -0,0 +1,15 @@
using Unity.Entities;
namespace ProjectM.Simulation
{
/// <summary>
/// Companion buffer on the AbilityDatabase singleton mapping an ability id to its projectile ghost
/// prefab entity. Prefab/entity references are kept OUT of the blob (blob assets don't remap entity
/// references); they are baked here via GetEntity, which the entity serializer patches correctly.
/// </summary>
public struct AbilityPrefabElement : IBufferElementData
{
public byte Id; // AbilityId
public Entity Prefab;
}
}