mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-15 04:50:55 +01:00
24 lines
544 B
C#
24 lines
544 B
C#
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;
|
|
}
|
|
}
|