public PathEdge(GraphEdge edge, Vector2 source, Vector2 target, EdgeBehavious behavious = EdgeBehavious.Normal) : this(source, target, behavious) { this.edge = edge; this.from = edge.From; this.to = edge.To; }
public PathEdge(Vector2 source, Vector2 target, EdgeBehavious behavious = EdgeBehavious.Normal) { this.source = source; this.target = target; this.behavious = behavious; }