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 code #22

Closed onionpsy closed 10 years ago

onionpsy commented 10 years ago

node.x and node.y (no getX()/getY() method in code)

davidyu commented 10 years ago

Accessing jumper.core.node.x and jumper.core.node.y fails on the latest build of Jumper. It just returns nil.

jumper.core.node:getX() and jumper.core.node:getY() works as expected for me for the example in the README. So it should be corrected in the github pages for Jumper.

Yonaba commented 10 years ago

This is true for for the commits I pushed after 1.8.1 version. Indeed, I need to clarify documentation in some parts. I will do this in due time.