diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-18 21:46:36 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-18 21:46:36 +0200 |
commit | 0007e53120b943316d17a92d2fec8ee06c0b040b (patch) | |
tree | 040b0a511ba27c38df357eb3c7a4a2e9a72eb41e | |
parent | 0c98e39be24cc5f54a6e2657fe73ce09b5ff792e (diff) | |
download | RustAndDust-0007e53120b943316d17a92d2fec8ee06c0b040b.zip RustAndDust-0007e53120b943316d17a92d2fec8ee06c0b040b.tar.gz |
Hud: add pushNotify(String, Position)
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Hud.java | 5 |
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 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); |