summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/hud
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-11 21:25:56 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-11 21:25:56 +0100
commit289db294f15c5afb2eee1d4c991a78ebf5ff0e6a (patch)
treebc4234ed62e8f091359c7ea3de5185749ec567d7 /core/src/ch/asynk/rustanddust/game/hud
parentc55913b6b11e9caa2f9ba464cae20d453345fd71 (diff)
downloadRustAndDust-289db294f15c5afb2eee1d4c991a78ebf5ff0e6a.zip
RustAndDust-289db294f15c5afb2eee1d4c991a78ebf5ff0e6a.tar.gz
PlayerInfo: fix turns label position
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/hud')
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java2
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 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);
}