This method is called when evaluating a neighbour node that the pathfinder is checking. Return true to successfully evaluate the iterated node. Return false to close the node. Return nil to do nothing.
This method is called when evaluating a neighbour node that the pathfinder is checking. Return true to successfully evaluate the iterated node. Return false to close the node. Return nil to do nothing.
1 number neighborX
the neighbor tile X coordinate. number-neighborY-the neighbor tile Y coordinate. number-tileX-the current tile X coordinate. number-tileY-the current tile X coordinate.
1 bool
whether the filter has passed.