Path.Connection.Connection C# (CSharp) Method

Connection() public method

public Connection ( Node fromNode, Node toNode, float weight )
fromNode Node
toNode Node
weight float
        public Connection(Node fromNode, Node toNode, float weight)
        {
            FromNode = fromNode;
            ToNode = toNode;
            Weight = weight;
        }