NavMesh: _polygons: _pointCache: _edgeCache: _addPoint: _addEdge: _findEdge: _findCommonEdge: addPolygon(vertices: Vec2[]): NavPolygonaddRect(pos: Vec2, size: Vec2): NavPolygon_getLocation: getNeighbours(index: number): number[]getCost(a: number, b: number): numbergetHeuristic(indexA: number, indexB: number): numbergetPath(start: number, goal: number): number[]getWaypointPath(start: Vec2, goal: Vec2, opt: any): Vec2[]