Graph: getNeighbours(node: number): number[]getCost(node: number, neighbor: number): numbergetHeuristic(node: number, goal: number): numbergetPath(from: number, to: number): number[]getWaypointPath(from: Vec2, to: Vec2, opt: any): Vec2[]