summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-21 12:07:57 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-21 12:07:57 +0100
commita7c231188524f5b9c8ccb273397f5c271ca17a7a (patch)
tree6cd2a9eb68fd6fbe4142d88dd6704ce8401794d7 /core/src/ch/asynk
parente575239ecf6aa4465e66e46bbbb2cab10ad3264b (diff)
downloadRustAndDust-a7c231188524f5b9c8ccb273397f5c271ca17a7a.zip
RustAndDust-a7c231188524f5b9c8ccb273397f5c271ca17a7a.tar.gz
PlayerInfo: position turns and reinforcement label
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java6
1 files 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);
}