Universe.BotManager.AStar.AStarNode.AStarNode C# (CSharp) Méthode

AStarNode() public méthode

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
Résultat System
        public AStarNode(AStarNode aParent, AStarNode aGoalNode, double aCost)
        {
            Parent = aParent;
            Cost = aCost;
            GoalNode = aGoalNode;
        }