Pathfinder rework (#11452)

This commit is contained in:
metalgearsloth
2022-09-30 14:39:48 +10:00
committed by GitHub
parent fd3b29fb03
commit f456ad911e
80 changed files with 3606 additions and 4374 deletions

View File

@@ -0,0 +1,23 @@
using Robust.Shared.Serialization;
namespace Content.Shared.NPC;
/// <summary>
/// Boundary around a navigation region.
/// </summary>
[Serializable, NetSerializable]
public struct PathfindingBoundary
{
public List<PathfindingBreadcrumb> Breadcrumbs;
/// <summary>
/// Is it a closed loop or is it a special-case chain (e.g. thindows).
/// </summary>
public bool Closed;
public PathfindingBoundary(bool closed, List<PathfindingBreadcrumb> crumbs)
{
Closed = closed;
Breadcrumbs = crumbs;
}
}