diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-11 00:58:39 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-11 00:58:39 +0100 |
commit | 68283b5fa86ad41ec495324fdae10912b806259c (patch) | |
tree | 715ce3665e7bef72ee60b1715b0a2477bf8900cd /core/src | |
parent | 24540080dda622a4d576304952dad80cce6b3e0a (diff) | |
download | RustAndDust-68283b5fa86ad41ec495324fdae10912b806259c.zip RustAndDust-68283b5fa86ad41ec495324fdae10912b806259c.tar.gz |
WIP
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java index 1661195..5087abe 100644 --- a/core/src/ch/asynk/tankontank/game/Hud.java +++ b/core/src/ch/asynk/tankontank/game/Hud.java @@ -70,8 +70,9 @@ public class Hud implements Disposable public void changeState(StateType from, StateType to) { - if (to != StateType.ENTRY); - playerInfo.hideUnitDock(); + // if (to != StateType.ENTRY); + // playerInfo.hideUnitDock(); + // TODO when reselect another -> do not hide Dock if ((to == StateType.SELECT) || (to == StateType.ENTRY)) playerInfo.blockReinforcement(false); @@ -112,12 +113,12 @@ public class Hud implements Disposable public void pushNotify(String s) { - notify(s, 1, Position.MIDDLE_CENTER, true); + notify(s, 1, Position.TOP_CENTER, true); } public void notify(String s) { - notify(s, 1, Position.MIDDLE_CENTER, false); + notify(s, 1, Position.TOP_CENTER, false); } public void notify(String s, float duration, Position position, boolean push) |