xaguzman / pathfinding

Java pathfinding framework.
Apache License 2.0
96 stars 28 forks source link

finder = new AStarGridFinder(GridCell.class) ERROR #15

Closed francisco-javier closed 6 years ago

francisco-javier commented 7 years ago

Hello, I am trying to use this library for a personal project of mine. Problem is that the line AStarGridFinder finder = new AStarGridFinder(GridCell.class); makes the following exception Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lorg.xguzm.pathfinding.BHeapNode; Is there something I might be doing wrong? Thank you.

xaguzman commented 7 years ago

Hello, not really.. everything looks good.

Is it possible for you to share the code so that I can take a look at it?