summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-13 17:24:42 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-13 17:24:42 +0100
commit992ad64b3f557702944cc5fafefa574c5283a670 (patch)
treefd74767eb0e98f77cbf4531c59bdcfaee8932129 /core/src/ch
parent52eb838731e3e38a72652d15ebc60e66860cabf0 (diff)
downloadRustAndDust-992ad64b3f557702944cc5fafefa574c5283a670.zip
RustAndDust-992ad64b3f557702944cc5fafefa574c5283a670.tar.gz
Ctrl: show battle name at start
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/game/Ctrl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java
index 8ad40da..8c54a72 100644
--- a/core/src/ch/asynk/tankontank/game/Ctrl.java
+++ b/core/src/ch/asynk/tankontank/game/Ctrl.java
@@ -3,6 +3,7 @@ package ch.asynk.tankontank.game;
import com.badlogic.gdx.utils.Disposable;
import ch.asynk.tankontank.TankOnTank;
+import ch.asynk.tankontank.game.hud.Position;
import ch.asynk.tankontank.game.states.StateCommon;
import ch.asynk.tankontank.game.states.StateSelect;
import ch.asynk.tankontank.game.states.StateMove;
@@ -72,6 +73,8 @@ public class Ctrl implements Disposable
player.turnStart();
hud.playerInfo.update(player, battle.getHudPosition(player));
+
+ hud.notify(battle.toString(), 2, Position.MIDDLE_CENTER, false);
}
@Override