nl_tokens: Implements the [ A * pathfinding algorithm ] {
pl_tokens: function AStar ( isWalkable ) { this . destX = 0 ; this . destY = 0 ; this . scaleX = 1 ; this . scaleY = 1 ; this . openNodes = { } ; this . closedNodes = { } ; this . openHeap = <mask> BinaryHeap ( function ( a , b ) { return a . f - b . f ; } ) ; this . isWalkable = isWalkable ; }