diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java index 7d17c1a..cbbeb6a 100644 --- a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java +++ b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java @@ -53,7 +53,7 @@ public class BattleHeadToHead extends BattleCommon @Override public Position getHudPosition(Player player) { - return (player.isEnemy(Army.GE) ? Position.TOP_RIGHT: Position.TOP_LEFT); + return (player.is(Army.US) ? Position.TOP_RIGHT: Position.TOP_LEFT); } @Override @@ -74,7 +74,7 @@ public class BattleHeadToHead extends BattleCommon Player gePlayer; Player usPlayer; - if (a.isEnemy(Army.GE)) { + if (a.is(Army.US)) { usPlayer = a; gePlayer = b; } else { |