11 lines
311 B
C#
11 lines
311 B
C#
namespace Content.Server.NPC.Pathfinding.Pathfinders
|
|
{
|
|
public sealed class PathfindingComparer : IComparer<ValueTuple<float, PathfindingNode>>
|
|
{
|
|
public int Compare((float, PathfindingNode) x, (float, PathfindingNode) y)
|
|
{
|
|
return y.Item1.CompareTo(x.Item1);
|
|
}
|
|
}
|
|
}
|