AStar/Graph/Edge.cs
2022-05-05 16:26:00 +02:00

14 lines
276 B
C#

namespace Graph
{
public struct Edge
{
public Node neighbor { get; }
public ushort weight { get; }
public Edge(Node neighbor, ushort weight)
{
this.neighbor = neighbor;
this.weight = weight;
}
}
}