From 01c664b5cb2d5b44104eaec82f484c69d0ad3ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 16 Nov 2014 01:20:14 +0100 Subject: Battle: add boolean deploymentDone(Player player) --- core/src/ch/asynk/tankontank/game/Battle.java | 2 ++ core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/core/src/ch/asynk/tankontank/game/Battle.java b/core/src/ch/asynk/tankontank/game/Battle.java index a9947c4..4d5178c 100644 --- a/core/src/ch/asynk/tankontank/game/Battle.java +++ b/core/src/ch/asynk/tankontank/game/Battle.java @@ -26,4 +26,6 @@ public interface Battle public Position getHudPosition(Player player); public State.StateType getState(Player player); + + public boolean deploymentDone(Player player); } diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java index 794f4eb..364c897 100644 --- a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java +++ b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java @@ -52,6 +52,12 @@ public class BattleHeadToHead extends BattleCommon } @Override + public boolean deploymentDone(Player player) + { + return true; + } + + @Override public Position getHudPosition(Player player) { return (player.is(Army.US) ? Position.TOP_RIGHT: Position.TOP_LEFT); -- cgit v1.1-2-g2b99