Files
tbd-station-14/Content.Server/NPC/Pathfinding/Pathfinders/PathfindingComparer.cs
metalgearsloth 0286b88388 NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-09-06 00:28:23 +10:00

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);
}
}
}