AStar/Graph/Edge.cs
2022-10-31 23:10:28 +01:00

14 lines
274 B
C#

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