I think I can make this class usable for what I want by simply making
the Node class public so that I can see where I came from in my Stepper. The thread non-safety only affects callers of getConsidered(), btw. If I wasn't pinched for time right now I'd modernize this whole thing and remove the sucky. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@915 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -409,7 +409,7 @@ public class AStarPathUtil
|
||||
* A class that represents a single traversable node in the tile array
|
||||
* along with its current A*-specific search information.
|
||||
*/
|
||||
protected static class Node implements Comparable<Node>
|
||||
public static class Node implements Comparable<Node>
|
||||
{
|
||||
/** The node coordinates. */
|
||||
public int x, y;
|
||||
|
||||
Reference in New Issue
Block a user