summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/Hex.java1
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hex.java b/core/src/ch/asynk/tankontank/game/Hex.java
index c1ef21a..328d2df 100644
--- a/core/src/ch/asynk/tankontank/game/Hex.java
+++ b/core/src/ch/asynk/tankontank/game/Hex.java
@@ -33,6 +33,7 @@ public class Hex extends Tile
public static final int OBJECTIVE_HOLD = 7;
public static final int OBJECTIVE_GE = 8;
public static final int OBJECTIVE_US = 9;
+ public static final int EXIT = 10;
public Terrain terrain;
public int roads;
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index f5a9355..200ca16 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -564,6 +564,8 @@ public abstract class Map extends Board
public void hideDirections(Hex hex) { enableOverlayOn(hex, Hex.DIRECTIONS, false); }
public void showOrientation(Hex hex, Orientation o) { enableOverlayOn(hex, Hex.ORIENTATION, o, true); }
public void hideOrientation(Hex hex) { enableOverlayOn(hex, Hex.ORIENTATION, false); }
+ public void showExit(Hex hex) { enableOverlayOn(hex, Hex.EXIT, true); }
+ public void hideExit(Hex hex) { enableOverlayOn(hex, Hex.EXIT, false); }
public void showObjective(Hex hex, Army army, boolean hold)
{