From aaddc866e8f03ecf8704b4a2e2d4985378fdc8c3 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 13 Apr 2010 21:44:57 +0000 Subject: [PATCH] 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 --- src/java/com/threerings/media/util/AStarPathUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/media/util/AStarPathUtil.java b/src/java/com/threerings/media/util/AStarPathUtil.java index 9b904093..88fd4e3b 100644 --- a/src/java/com/threerings/media/util/AStarPathUtil.java +++ b/src/java/com/threerings/media/util/AStarPathUtil.java @@ -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 + public static class Node implements Comparable { /** The node coordinates. */ public int x, y;