From 47d6d97f916fc4030e533b0fdb524d494018cdd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 10 Dec 2015 09:07:03 +0100 Subject: Hud: add notify(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 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); -- cgit v1.1-2-g2b99