summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/zproject/Hud.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/zproject/Hud.java')
-rw-r--r--core/src/ch/asynk/zproject/Hud.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/zproject/Hud.java b/core/src/ch/asynk/zproject/Hud.java
index ded7981..38728c0 100644
--- a/core/src/ch/asynk/zproject/Hud.java
+++ b/core/src/ch/asynk/zproject/Hud.java
@@ -10,9 +10,9 @@ public class Hud implements Disposable
{
private final Sprite hud;
- public Hud()
+ public Hud(final Assets assets)
{
- this.hud = new Sprite(new Texture("data/corner.png"));
+ this.hud = new Sprite(assets.getTexture(assets.CORNER));
}
@Override public void dispose()