From 8075b57dc690e98a433ee5b6793b90e7509bae99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 10 Nov 2015 18:57:31 +0100 Subject: PlayerInfo: fix turns position --- core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java index 8e84260..a9c74be 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java +++ b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java @@ -67,6 +67,7 @@ public class PlayerInfo implements Disposable, Drawable, Animation aps.translate(dx, dy); reinforcement.translate(dx, dy); unitDock.translate(dx, dy); + turns.setPosition(Position.TOP_CENTER); } public void setPosition(Position position) @@ -97,7 +98,6 @@ public class PlayerInfo implements Disposable, Drawable, Animation x -= (aps.getWidth() + PADDING); aps.setPosition(x, y); } - turns.setPosition(Position.TOP_CENTER); aps.setLabelPosition(Position.TOP_RIGHT); turns.setLabelPosition(Position.MIDDLE_CENTER); reinforcement.setLabelPosition(Position.TOP_LEFT); -- cgit v1.1-2-g2b99