From 289db294f15c5afb2eee1d4c991a78ebf5ff0e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 11 Nov 2015 21:25:56 +0100 Subject: PlayerInfo: fix turns label 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 a9c74be..fdc958e 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java +++ b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java @@ -68,6 +68,7 @@ public class PlayerInfo implements Disposable, Drawable, Animation reinforcement.translate(dx, dy); unitDock.translate(dx, dy); turns.setPosition(Position.TOP_CENTER); + turns.setLabelPosition(Position.MIDDLE_CENTER); } public void setPosition(Position position) @@ -99,7 +100,6 @@ public class PlayerInfo implements Disposable, Drawable, Animation aps.setPosition(x, y); } aps.setLabelPosition(Position.TOP_RIGHT); - turns.setLabelPosition(Position.MIDDLE_CENTER); reinforcement.setLabelPosition(Position.TOP_LEFT); unitDock.setPosition(position, reinforcement.getY() - PADDING); } -- cgit v1.1-2-g2b99