From 0007e53120b943316d17a92d2fec8ee06c0b040b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= 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(+) diff --git a/core/src/ch/asynk/rustanddust/game/Hud.java b/core/src/ch/asynk/rustanddust/game/Hud.java index e53dcac..4619d90 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.1-2-g2b99