diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-19 18:04:02 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-19 18:04:02 +0100 |
commit | 54d0e844adf1130ac3719a254a6dbcf157cd5644 (patch) | |
tree | 6a8c6468cbce158192df499cd72ca1a0b15ebdb3 | |
parent | 764168edcadd7528c4a1fb2d0e7af072a12d367c (diff) | |
download | RustAndDust-54d0e844adf1130ac3719a254a6dbcf157cd5644.zip RustAndDust-54d0e844adf1130ac3719a254a6dbcf157cd5644.tar.gz |
BattleCommon: show exitZone
-rw-r--r-- | core/src/ch/asynk/tankontank/game/battles/BattleCommon.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleCommon.java b/core/src/ch/asynk/tankontank/game/battles/BattleCommon.java index 9be7403..413b8ab 100644 --- a/core/src/ch/asynk/tankontank/game/battles/BattleCommon.java +++ b/core/src/ch/asynk/tankontank/game/battles/BattleCommon.java @@ -10,6 +10,7 @@ import ch.asynk.tankontank.game.Player; import ch.asynk.tankontank.game.Ctrl; import ch.asynk.tankontank.game.Map; import ch.asynk.tankontank.game.Zone; +import ch.asynk.tankontank.game.Hex; import ch.asynk.tankontank.game.HexSet; import ch.asynk.tankontank.game.Unit; import ch.asynk.tankontank.game.Unit.UnitId; @@ -120,6 +121,7 @@ public abstract class BattleCommon implements Battle public void addExitZone(Zone exit) { exitZone.add(exit); + exit.enable(Hex.EXIT, true); } public void addReinforcement(Player player, Zone entryZone, UnitId unitId) |