summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Hex.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Hex.java b/core/src/ch/asynk/rustanddust/game/Hex.java
index 7b37dee..34ccdb3 100644
--- a/core/src/ch/asynk/rustanddust/game/Hex.java
+++ b/core/src/ch/asynk/rustanddust/game/Hex.java
@@ -88,7 +88,7 @@ public class Hex extends Tile
}
@Override
- public boolean road(Orientation side)
+ public boolean roadFrom(Orientation side)
{
return (side.s == (roads & side.s));
}
@@ -104,7 +104,7 @@ public class Hex extends Tile
{
if (side == Orientation.KEEP) return 0;
if (hasUnits()) return (Integer.MAX_VALUE / 2);
- if (road(side)) return 1;
+ if (roadFrom(side)) return 1;
int c = 0;
switch(terrain) {