12 lines
211 B
C#
12 lines
211 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|