The node information of a gamvas.AStarGrid map
gamvas. | The node information of a gamvas.AStarGrid map |
Variables | |
position | The position information in the grid as gamvas.Vector2D |
The position information in the grid as gamvas.Vector2D
var path = myAStarGrid.find(0, 0, 10, 15); if (path.length) { console.log('First position: '+path[0].position.x+', '+path[0].position.y); }