Files
brick-framework/GameCore/ECS/Entity.cs

11 lines
308 B
C#

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