summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/Msg.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/Msg.java b/core/src/ch/asynk/tankontank/game/hud/Msg.java
index 295631a..5939796 100644
--- a/core/src/ch/asynk/tankontank/game/hud/Msg.java
+++ b/core/src/ch/asynk/tankontank/game/hud/Msg.java
@@ -24,16 +24,16 @@ public class Msg extends Label implements Animation
}
}
- private Bg bg;
+ private Patch bg;
private float duration;
private float elapsed;
private ArrayDeque<MsgInfo> stack;
- public Msg(BitmapFont font, TextureAtlas atlas, float padding)
+ public Msg(BitmapFont font, TextureAtlas atlas)
{
- super(font, padding);
+ super(font, 20f);
this.visible = false;
- this.bg = new Bg(atlas.findRegion("disabled"));
+ this.bg = new Patch(atlas.createPatch("typewriter"));
this.stack = new ArrayDeque<MsgInfo>();
}