diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-21 12:07:57 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-21 12:07:57 +0100 |
commit | a7c231188524f5b9c8ccb273397f5c271ca17a7a (patch) | |
tree | 6cd2a9eb68fd6fbe4142d88dd6704ce8401794d7 /core/src | |
parent | e575239ecf6aa4465e66e46bbbb2cab10ad3264b (diff) | |
download | RustAndDust-a7c231188524f5b9c8ccb273397f5c271ca17a7a.zip RustAndDust-a7c231188524f5b9c8ccb273397f5c271ca17a7a.tar.gz |
PlayerInfo: position turns and reinforcement label
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java | 6 |
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); } |