distance To
Calculates the heuristic to another tile.
This method is used by the pathfinding algorithm to estimate the distance from this tile to another tile. It should return 0 if the tiles are the same.
Return
the heuristic to the specified tile.
Parameters
to
the tile to calculate the heuristic to.