MoonTools.ECS/src/Rev2/EntityId.cs

12 lines
211 B
C#
Raw Normal View History

2023-10-31 22:00:42 +00:00
using System;
namespace MoonTools.ECS.Rev2;
public readonly record struct EntityId(uint Value) : IComparable<EntityId>
{
public int CompareTo(EntityId other)
{
return Value.CompareTo(other.Value);
}
}