diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hex.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hex.java b/core/src/ch/asynk/tankontank/game/Hex.java index 1bb826c..f1ba86a 100644 --- a/core/src/ch/asynk/tankontank/game/Hex.java +++ b/core/src/ch/asynk/tankontank/game/Hex.java @@ -100,6 +100,12 @@ public class Hex extends Tile } @Override + public int exitCost() + { + return 1; + } + + @Override public int costFrom(Pawn pawn, Orientation side) { if (hasUnits()) return (Integer.MAX_VALUE / 2); |