3 ms·
PathFinder is poorly designed imo. What is the result of calling getPath or getMinLength before calling findPath? The correct way of returning the path calculat
by justopinions 10y ago
PathFinder is poorly designed imo. What is the result of calling getPath or getMinLength before calling findPath? The correct way of returning the path calculation is
Path findPath();
not void findPath() which stores the results as fields on PathFinder.