summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-10 17:27:22 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-10 17:27:22 +0100
commit78952765990409169f315aff69a8ba7d5b28858b (patch)
treed84d9fe1dc8c2521ba33186eb2f3cd847a15ae23
parent890035cbcca52bb1e01d93f93befe2f7f5549147 (diff)
downloadRustAndDust-78952765990409169f315aff69a8ba7d5b28858b.zip
RustAndDust-78952765990409169f315aff69a8ba7d5b28858b.tar.gz
Hud: update to use latests constructors
-rw-r--r--core/src/ch/asynk/tankontank/game/Hud.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java
index 885b98e..d2758ff 100644
--- a/core/src/ch/asynk/tankontank/game/Hud.java
+++ b/core/src/ch/asynk/tankontank/game/Hud.java
@@ -53,12 +53,12 @@ public class Hud implements Disposable, Animation
TextureAtlas atlas = game.factory.hudAtlas;
fontB = new BitmapFont(Gdx.files.internal("skin/veteran.fnt"), atlas.findRegion("veteran-black"));
fontW = new BitmapFont(Gdx.files.internal("skin/veteran.fnt"), atlas.findRegion("veteran-white"));
- playerInfo = new PlayerInfo(ctrl, fontW, atlas, 5f);
- actionButtons = new ActionButtons(ctrl, atlas, 5f);
+ playerInfo = new PlayerInfo(ctrl, fontW, atlas);
+ actionButtons = new ActionButtons(ctrl, atlas);
actionButtons.hide();
- msg = new Msg(fontW, atlas, 10f);
- okCancel = new OkCancel(fontW, atlas, 10f);
- stats = new Statistics(fontW, atlas, 10f);
+ msg = new Msg(fontB, atlas);
+ okCancel = new OkCancel(fontB, atlas);
+ stats = new Statistics(fontB, atlas);
engagement = new Engagement(fontB, atlas);
}