コード例 #1
0
 /// <summary>
 /// Constructor for a node in a 2-dimensional map
 /// </summary>
 /// <param name="AParent">Parent of the node</param>
 /// <param name="AGoalNode">Goal node</param>
 /// <param name="ACost">Accumulative cost</param>
 /// <param name="AX">X-coordinate</param>
 /// <param name="AY">Y-coordinate</param>
 public AStarNode2D(AStarNode AParent, AStarNode AGoalNode, double ACost, int AX, int AY)
     : base(AParent, AGoalNode, ACost)
 {
     FX = AX;
     FY = AY;
 }