Add attribute system with core stats and gameplay components

This commit is contained in:
2025-10-13 12:10:45 +02:00
commit ce3596efaa
55 changed files with 1161 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
using GameCore.ECS.Interfaces;
namespace GameCore.Combat;
/// <summary>
/// A simple "marker" component. When the DamageSystem determines an entity's
/// health has dropped to 0 or below, it adds this component to the entity.
/// Other systems (or the presenter layer) can then react to this, for example,
/// by playing a death animation, creating a ragdoll, and eventually destroying the entity.
/// </summary>
public class DeathComponent : IComponent
{
}