Universe.BotManager.AStar.AStarNode.AStarNode C# (CSharp) 메소드

AStarNode() 공개 메소드

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