Universe.BotManager.AStar.AStarNode.AStarNode C# (CSharp) Method

AStarNode() public method

Constructor.
public AStarNode ( AStarNode aParent, AStarNode aGoalNode, double aCost ) : System
aParent AStarNode The node's parent
aGoalNode AStarNode The goal node
aCost double The accumulative cost until now
return System
        public AStarNode(AStarNode aParent, AStarNode aGoalNode, double aCost)
        {
            Parent = aParent;
            Cost = aCost;
            GoalNode = aGoalNode;
        }