From 992ad64b3f557702944cc5fafefa574c5283a670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 13 Nov 2014 17:24:42 +0100 Subject: Ctrl: show battle name at start --- core/src/ch/asynk/tankontank/game/Ctrl.java | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.1-2-g2b99