summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Hud.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Hud.java b/core/src/ch/asynk/rustanddust/game/Hud.java
index 522837e..a368f56 100644
--- a/core/src/ch/asynk/rustanddust/game/Hud.java
+++ b/core/src/ch/asynk/rustanddust/game/Hud.java
@@ -154,6 +154,11 @@ public class Hud implements Disposable, Animation
notify(s, NOTIFY_DURATION, Position.TOP_CENTER, false);
}
+ public void notify(String s, Position pos)
+ {
+ notify(s, NOTIFY_DURATION, pos, false);
+ }
+
public void notify(String s, float duration, Position position, boolean push)
{
if (push) msg.pushWrite(s, duration, position);