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

11
GameCore/ECS/Entity.cs Normal file
View File

@@ -0,0 +1,11 @@
namespace GameCore.ECS;
/// <summary>
/// Represents a unique object in the game world.
/// It's a simple struct containing an ID to keep it lightweight.
/// All data associated with an Entity is stored in Components.
/// </summary>
public readonly struct Entity(int id)
{
public readonly int Id = id;
}