diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-04-01 01:00:10 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-04-01 01:00:10 +0200 |
commit | 9b55cf33c8765b97138472a41754203fb062020e (patch) | |
tree | b676080101528e876ef5dc4ca91dbe3a5d7199d5 /core/src/ch/asynk/rustanddust/game/hud | |
parent | d6f4843180642976aa4a92ca8c0162c782d550ef (diff) | |
download | RustAndDust-9b55cf33c8765b97138472a41754203fb062020e.zip RustAndDust-9b55cf33c8765b97138472a41754203fb062020e.tar.gz |
Ctrl: add EventType.UNIT_DOCK_SELECT
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/hud')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java | 2 |
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 9701cf3..e96856f 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java +++ b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java @@ -146,7 +146,7 @@ public class PlayerInfo implements Disposable, Drawable, Animation } else if (unitDock.hit(x, y)) { ctrl.hud.notify(unitDock.selectedUnit.toString(), Position.TOP_CENTER); - ctrl.showEntryZone(); + ctrl.postEvent(Ctrl.EventType.UNIT_DOCK_SELECT, unitDock.selectedUnit); return true; } |