From a7c231188524f5b9c8ccb273397f5c271ca17a7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 21 Nov 2015 12:07:57 +0100 Subject: PlayerInfo: position turns and reinforcement label --- core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java index fdc958e..0e419da 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java +++ b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java @@ -99,8 +99,10 @@ public class PlayerInfo implements Disposable, Drawable, Animation x -= (aps.getWidth() + PADDING); aps.setPosition(x, y); } - aps.setLabelPosition(Position.TOP_RIGHT); - reinforcement.setLabelPosition(Position.TOP_LEFT); + turns.setPosition(Position.TOP_CENTER); + turns.setLabelPosition(Position.MIDDLE_CENTER); + aps.setLabelPosition(Position.MIDDLE_CENTER); + reinforcement.setLabelPosition(Position.MIDDLE_CENTER); unitDock.setPosition(position, reinforcement.getY() - PADDING); } -- cgit v1.1-2-g2b99