DFMapNode.newNode constructor

DFMapNode.newNode(
  1. DFMapPosition position,
  2. DFMapNode parent,
  3. int g,
  4. int h,
)

Implementation

DFMapNode.newNode(DFMapPosition position, DFMapNode parent, int g, int h) {
  this.position = position;
  this.parent = parent;
  this.G = g;
  this.H = h;
}