refactor: removed the IComparable from IIdentifiable and implemented in extension method

This commit is contained in:
2026-03-04 20:16:07 +03:00
parent 4326d5615e
commit e84c6edce1
3 changed files with 7 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ namespace Engine.Core;
/// <summary>
/// Represents any instance in the engine with an id.
/// </summary>
public interface IIdentifiable : System.IComparable<IIdentifiable>
public interface IIdentifiable
{
/// <summary>
/// Event triggered when the <see cref="Id"/> of the <see cref="IIdentifiable"/> changes.