示例#1
0
    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;
    }
示例#2
0
    public PathEdge(Vector2 source, Vector2 target, EdgeBehavious behavious = EdgeBehavious.Normal)
    {
        this.source = source;

        this.target = target;

        this.behavious = behavious;
    }