diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-10 18:57:31 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-10 18:57:31 +0100 |
commit | 8075b57dc690e98a433ee5b6793b90e7509bae99 (patch) | |
tree | 05ede5207420c89822d21de4016ec215c104b907 /core/src/ch | |
parent | f9c21a2fe49bbdc35d5b80a95100724a62735232 (diff) | |
download | RustAndDust-8075b57dc690e98a433ee5b6793b90e7509bae99.zip RustAndDust-8075b57dc690e98a433ee5b6793b90e7509bae99.tar.gz |
PlayerInfo: fix turns position
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |