From 0007e53120b943316d17a92d2fec8ee06c0b040b Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Wed, 18 May 2016 21:46:36 +0200 Subject: Hud: add pushNotify(String, Position) --- core/src/ch/asynk/rustanddust/game/Hud.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core') diff --git a/core/src/ch/asynk/rustanddust/game/Hud.java b/core/src/ch/asynk/rustanddust/game/Hud.java index e53dcace..4619d901 100644 --- a/core/src/ch/asynk/rustanddust/game/Hud.java +++ b/core/src/ch/asynk/rustanddust/game/Hud.java @@ -165,6 +165,11 @@ public class Hud implements Disposable, Animation notify(s, NOTIFY_DURATION, Position.TOP_CENTER, false); } + public void pushNotify(String s, Position pos) + { + notify(s, NOTIFY_DURATION, pos, true); + } + public void notify(String s, Position pos) { notify(s, NOTIFY_DURATION, pos, false); -- cgit v1.2.3