Does java have a pre-defined way to do path-finding?

MatthewM

New member
I just started working with the class: "java.awt.geom.Path2D"
i was wondering if there was some sort of method that would take an array of Rectangles and avoid them going from point a to point b...the method would probably look like this:
Path2D pathFinding(aX,aY,bX,bY,Rectangle avoid);

thanks
 
Back
Top