diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-09 23:51:30 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-09 23:51:30 +0100 |
commit | f14a9d5985b768bea9b21a6f1ea35dd6fdb264f7 (patch) | |
tree | ec868f7c3f80269e31d9617c0ac5516eb2423a6d /core/src/ch/asynk/rustanddust | |
parent | 7a3176197f3ac936aea09d9bcbd7f5916798ee65 (diff) | |
download | RustAndDust-f14a9d5985b768bea9b21a6f1ea35dd6fdb264f7.zip RustAndDust-f14a9d5985b768bea9b21a6f1ea35dd6fdb264f7.tar.gz |
RustAndDust: call EngagementPanel.setDiceAnimation
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/RustAndDust.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/RustAndDust.java b/core/src/ch/asynk/rustanddust/RustAndDust.java index 819e1d2..a00a69d 100644 --- a/core/src/ch/asynk/rustanddust/RustAndDust.java +++ b/core/src/ch/asynk/rustanddust/RustAndDust.java @@ -18,6 +18,7 @@ import ch.asynk.rustanddust.game.Config; import ch.asynk.rustanddust.game.battles.Factory; import ch.asynk.rustanddust.ui.Bg; import ch.asynk.rustanddust.game.hud.UnitDock; +import ch.asynk.rustanddust.game.hud.EngagementPanel; public class RustAndDust extends Game { @@ -161,8 +162,9 @@ public class RustAndDust extends Game parameter.color = Color.WHITE; fontW = generator.generateFont(parameter); - UnitDock.setScale(Math.max((h * 0.0005f), 0.4f)); Bg.setScale(Math.max((h * 0.00125f), 0.4f)); + UnitDock.setScale(Math.max((h * 0.0005f), 0.4f)); + EngagementPanel.setDiceDimension((int) Math.max((h * 0.03f), 24)); } private void unloadUiAssets() |