diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-10 09:07:03 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-10 09:07:03 +0100 |
commit | 47d6d97f916fc4030e533b0fdb524d494018cdd7 (patch) | |
tree | c7d5634780e72da9df35b4d6e47e92cf1d57413a | |
parent | 48959904e8d063e055971d33b2c205236ebbd3e0 (diff) | |
download | RustAndDust-47d6d97f916fc4030e533b0fdb524d494018cdd7.zip RustAndDust-47d6d97f916fc4030e533b0fdb524d494018cdd7.tar.gz |
Hud: add notify(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 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); |