diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-02 15:06:46 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-02 15:06:46 +0100 |
commit | 08596cf6cb7ee5871932eecdbb5a2e4251cf92a3 (patch) | |
tree | 247590e03bdab328e45f419318568cbcb437d42e /core/src/ch/asynk/rustanddust/game/hud | |
parent | 619bc54eb1d6f84937f35f00c55de74d22797d50 (diff) | |
download | RustAndDust-08596cf6cb7ee5871932eecdbb5a2e4251cf92a3.zip RustAndDust-08596cf6cb7ee5871932eecdbb5a2e4251cf92a3.tar.gz |
Hud: better fix for optionsBtn handling
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/hud')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java index ddb2aea..e7a4377 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java +++ b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java @@ -180,6 +180,13 @@ public class OptionsPanel extends Patch { } + public void close() + { + apply(); + objectivesPanel.visible = false; + this.visible = false; + } + @Override public void dispose() { |