Yonaba / Jumper

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

Fix example inside README. #14

Closed dim-an closed 11 years ago

dim-an commented 11 years ago

Example inside README didn't work because node don't have x/y fields.

Yonaba commented 11 years ago

Thanks @dim-an, but I can't merge this as-is. You have to call node:getX(), node:getY() with a colon. Please fix that, so that I can merge your patch.

dim-an commented 11 years ago

Fixed. Lua is still new language for me and I didn't test code I fixed. Shame on me! :(

Yonaba commented 11 years ago

Awesome. Thanks!