From 524f0eacefb4b72cff034eac717bc270e43b6c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 13 Nov 2014 00:21:37 +0100 Subject: BattleHeadToHead: use is(Army) instead os isEnemey(Army) --- core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java | 4 ++-- 1 file 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 { -- cgit v1.1-2-g2b99