summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-02 16:34:27 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-02 16:34:27 +0100
commitb721725ce99f879681e5b98ceca42f59b0c90818 (patch)
treef8e7f23ee72822fc96fec579e3801f4cb76e47fa
parent37b108ea1aca715b001010c9373cf48438a7aef0 (diff)
downloadRustAndDust-b721725ce99f879681e5b98ceca42f59b0c90818.zip
RustAndDust-b721725ce99f879681e5b98ceca42f59b0c90818.tar.gz
BattleFake -> BattleHeadToHead
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java (renamed from core/src/ch/asynk/tankontank/game/battles/BattleFake.java)4
-rw-r--r--core/src/ch/asynk/tankontank/screens/GameScreen.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleFake.java b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java
index 52dd7bd..d6c4af9 100644
--- a/core/src/ch/asynk/tankontank/game/battles/BattleFake.java
+++ b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java
@@ -12,9 +12,9 @@ import ch.asynk.tankontank.game.Unit;
import ch.asynk.tankontank.game.Unit.UnitId;
import ch.asynk.tankontank.engine.Orientation;
-public class BattleFake extends BattleCommon
+public class BattleHeadToHead extends BattleCommon
{
- public BattleFake(Factory factory)
+ public BattleHeadToHead(Factory factory)
{
super(factory);
randomizeArmies();
diff --git a/core/src/ch/asynk/tankontank/screens/GameScreen.java b/core/src/ch/asynk/tankontank/screens/GameScreen.java
index 9492509..a139b6c 100644
--- a/core/src/ch/asynk/tankontank/screens/GameScreen.java
+++ b/core/src/ch/asynk/tankontank/screens/GameScreen.java
@@ -26,7 +26,7 @@ import com.badlogic.gdx.utils.viewport.ScreenViewport;
import ch.asynk.tankontank.TankOnTank;
import ch.asynk.tankontank.game.Ctrl;
-import ch.asynk.tankontank.game.battles.BattleFake;
+import ch.asynk.tankontank.game.battles.BattleHeadToHead;
public class GameScreen implements Screen
{
@@ -63,7 +63,7 @@ public class GameScreen implements Screen
{
this.game = game;
- this.ctrl = new Ctrl(game, new BattleFake(game.factory));
+ this.ctrl = new Ctrl(game, new BattleHeadToHead(game.factory));
virtualWidth = ctrl.map.getWidth();
virtualHeight = ctrl.map.getHeight();