Example #1
0
 // Constructor with all the default input parameters.
 public LocationInfo(Node node, int x, int y, CostOfTraversal costOfTraversal, LocationInfo parentNode)
 {
     _node            = node;
     xCoOrdinate      = x;
     yCoOrdinate      = y;
     _costOfTraversal = costOfTraversal;
     _parentNode      = parentNode;
 }
Example #2
0
 // Constructor with all the default input parameters.
 public LocationInfo(Node node, int x, int y, CostOfTraversal costOfTraversal, LocationInfo parentNode)
 {
     _node = node;
     xCoOrdinate = x;
     yCoOrdinate = y;
     _costOfTraversal = costOfTraversal;
     _parentNode = parentNode;
 }