summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/battles
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank/game/battles')
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java7
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java7
2 files changed, 14 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java b/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java
index c4e760d..f31aff4 100644
--- a/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java
+++ b/core/src/ch/asynk/tankontank/game/battles/BattleFrontalAssault.java
@@ -55,6 +55,13 @@ public class BattleFrontalAssault extends BattleCommon
return ((player.is(Army.GE) && (n == 4)));
}
+ @Override
+ public boolean getReinforcement(Ctrl ctrl)
+ {
+ return false;
+ }
+
+ @Override
public Player checkVictory(Ctrl ctrl)
{
if (ctrl.opponent.unitsLeft() == 0)
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java
index 8e9ed67..14efe77 100644
--- a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java
+++ b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java
@@ -47,6 +47,13 @@ public class BattleHeadToHead extends BattleCommon
return StateType.SELECT;
}
+ @Override
+ public boolean getReinforcement(Ctrl ctrl)
+ {
+ return false;
+ }
+
+ @Override
public Player checkVictory(Ctrl ctrl)
{
if (ctrl.opponent.unitsLeft() == 0)