NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user