Calculate distance should be accessible for users of this library
GreG28 opened this issue · 1 comments
GreG28 commented
I'm actually using this library for a project with Phaser, and I would like to use this part of the library.. I need to calculate the distance between two tiles for getting the maximum distance where my unit can go !
Sorry for my english..
prettymuchbryce commented
Hello. Sorry for the delay. You can use a distance function to achieve this goal. I won't expose this as part of easystarjs itself.