2022-04-08 05:52:03 +00:00
|
|
|
|
using System;
|
2022-03-05 02:01:44 +00:00
|
|
|
|
|
2022-04-08 05:52:03 +00:00
|
|
|
|
namespace MoonTools.ECS
|
2022-03-05 02:01:44 +00:00
|
|
|
|
{
|
2023-11-03 19:40:26 +00:00
|
|
|
|
public readonly record struct Entity
|
2022-03-05 02:01:44 +00:00
|
|
|
|
{
|
2023-11-03 19:40:26 +00:00
|
|
|
|
public uint ID { get; }
|
2022-03-31 21:51:43 +00:00
|
|
|
|
|
2023-11-03 19:40:26 +00:00
|
|
|
|
internal Entity(uint id)
|
2022-04-08 05:52:03 +00:00
|
|
|
|
{
|
|
|
|
|
ID = id;
|
|
|
|
|
}
|
2022-03-31 21:51:43 +00:00
|
|
|
|
}
|
2022-03-05 02:01:44 +00:00
|
|
|
|
}
|