Yonaba / Jumper

Fast, lightweight and easy-to-use pathfinding library for grid-based games
http://yonaba.github.io/Jumper
MIT License
611 stars 123 forks source link

Heuristics should take the node as arguments #6

Closed Yonaba closed 11 years ago

Yonaba commented 11 years ago

Instead of passing deltas to Heuristics, they should handle nodes as arguments. That will facilitate writing more effective custom heuristics functions on the basis on the passed-in nodes themselves.