private void AddToClosedList(PathNode currentNode) { currentNode.isOnClosedList = true; }
private void RemoveFromOpenList(PathNode currentNode) { binaryTree.RemoveNode(currentNode); openListCount--; currentNode.isOnOpenList = false; }
private void AddToOpenList(PathNode node) { binaryTree.AddNode(node); openListCount++; node.isOnOpenList = true; }