diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-10 12:24:23 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-10 12:24:23 +0100 |
commit | 4ca8860cbd3e29524de3e3b03f95bf1db0f80c5d (patch) | |
tree | 031c5ac79b7206cb6956e04cd3aed18f15c95dea /core/src | |
parent | d5f261fc1a306b2b0289055a6d91b27f0f25167f (diff) | |
download | RustAndDust-4ca8860cbd3e29524de3e3b03f95bf1db0f80c5d.zip RustAndDust-4ca8860cbd3e29524de3e3b03f95bf1db0f80c5d.tar.gz |
EngagementPanel: fix vertical position of dice
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java b/core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java index 6a0762e..30114ae 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java +++ b/core/src/ch/asynk/rustanddust/game/hud/EngagementPanel.java @@ -149,6 +149,7 @@ public class EngagementPanel extends Patch implements Animation y += ((attack.getHeight() / 2.0f) - (attackImg.getHeight() / 2.0f)); attackImg.setPosition(x, y); x += (attackImg.getWidth() + HSPACING); + y += ((attackImg.getHeight() / 2.0f) - (d1Animation.getHeight() / 2.0f)); d1Animation.setPosition(x, y); d3Animation.setPosition(x, y); x += (d1Animation.getWidth() + HSPACING); |