summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/hud
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-10 09:55:36 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-10 09:55:36 +0100
commite6121e92ea6f0aa8b1e1643c94c30a8f6d67131c (patch)
tree277e297378fd0dc5a4f8131e06ebc6cd68f975df /core/src/ch/asynk/rustanddust/game/hud
parentcb08556e89a392e12d31d1483b2ce675ad346255 (diff)
downloadRustAndDust-e6121e92ea6f0aa8b1e1643c94c30a8f6d67131c.zip
RustAndDust-e6121e92ea6f0aa8b1e1643c94c30a8f6d67131c.tar.gz
Hud: by default notify at MIDDLE_CENTER
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/hud')
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
index 2ff4d77..e7718c5 100644
--- a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
+++ b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
@@ -169,7 +169,7 @@ public class PlayerInfo implements Disposable, Drawable, Animation
}
else if (hit == unitDock) {
if (unitDock.hit(x, y)) {
- ctrl.hud.notify(unitDock.select(x, y).toString());
+ ctrl.hud.notify(unitDock.select(x, y).toString(), Position.TOP_CENTER);
ctrl.showEntryZone();
}
}