| | | 1 | | //======================================================================= |
| | | 2 | | // NavigationIncomingSurfaceEdge.cs |
| | | 3 | | //======================================================================= |
| | | 4 | | // MIT License, Copyright (c) 2024-present David Oravsky (mrdav30) |
| | | 5 | | // See LICENSE file in the project root for full license information. |
| | | 6 | | //======================================================================= |
| | | 7 | | |
| | | 8 | | namespace Trailblazer.Pathing; |
| | | 9 | | |
| | | 10 | | /// <summary>Pairs one predecessor with its original forward edge and durable locator.</summary> |
| | | 11 | | internal readonly struct NavigationIncomingSurfaceEdge |
| | | 12 | | { |
| | | 13 | | internal NavigationIncomingSurfaceEdge( |
| | | 14 | | NavigationNodeRef predecessor, |
| | | 15 | | NavigationGraphEdge forwardEdge, |
| | | 16 | | NavigationSelectedEdgeRef selectedEdge) |
| | | 17 | | { |
| | 288737 | 18 | | Predecessor = predecessor; |
| | 288737 | 19 | | ForwardEdge = forwardEdge; |
| | 288737 | 20 | | SelectedEdge = selectedEdge; |
| | 288737 | 21 | | } |
| | | 22 | | |
| | | 23 | | internal NavigationNodeRef Predecessor { get; } |
| | | 24 | | |
| | | 25 | | internal NavigationGraphEdge ForwardEdge { get; } |
| | | 26 | | |
| | | 27 | | internal NavigationSelectedEdgeRef SelectedEdge { get; } |
| | | 28 | | } |