Graph type Graph does not take parameters
I'm working with the Pogamut 3 Cookbook
Chapter 6. Navigation bot - navigating through the level
There is this a sample code
Collection navpoints;
String mapName = this.gameInfo.getLevel();
navpoints = this.bot.getWorldView().getAll(NavPoint.class).values();
Graph navigationGraph;
navigationGraph = NavigationGraphProviderForMap.getInstance().getNavigationDataForMapWithChceckAndInitialization(mapName, navpoints);
pathPlanner = new AdvancedPathPlanner(navigationGraph, bot, navpoints);
pathPlanner.setActiveProfile(AdvancedPathPlanner.ARMORINTEREST);
But when I try it, I have the error: Graph type Graph does not take parameters.
I tried to use different import, I tried to check any update of pogamut but I'm still stuck.
What do I have to do ? I know this question may look like a newbie question but I'm really lost.
Where can I find a Graph using templates ?
Thank you in advance for your help