Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -9,7 +9,7 @@ using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.AI.Pathfinding.Pathfinders
|
||||
{
|
||||
public class AStarPathfindingJob : Job<Queue<TileRef>>
|
||||
public sealed class AStarPathfindingJob : Job<Queue<TileRef>>
|
||||
{
|
||||
#if DEBUG
|
||||
public static event Action<SharedAiDebug.AStarRouteDebug>? DebugRoute;
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.AI.Pathfinding.Pathfinders
|
||||
{
|
||||
public class JpsPathfindingJob : Job<Queue<TileRef>>
|
||||
public sealed class JpsPathfindingJob : Job<Queue<TileRef>>
|
||||
{
|
||||
// Some of this is probably fugly due to other structural changes in pathfinding so it could do with optimisation
|
||||
// Realistically it's probably not getting used given it doesn't support tile costs which can be very useful
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace Content.Server.AI.Pathfinding.Pathfinders
|
||||
{
|
||||
public class PathfindingComparer : IComparer<ValueTuple<float, PathfindingNode>>
|
||||
public sealed class PathfindingComparer : IComparer<ValueTuple<float, PathfindingNode>>
|
||||
{
|
||||
public int Compare((float, PathfindingNode) x, (float, PathfindingNode) y)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user