summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-29 21:19:20 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-29 21:19:20 +0200
commitd6b8b23c6de5d9fbe65b49c784dd698e83b0ca79 (patch)
tree27acff80b4bff4b635ada20be0a608e149aaf0f5 /src/jrummikub/control
parente4a1246f01c2a017042a2a80cc2e9a1e6b4bbd51 (diff)
downloadJRummikub-d6b8b23c6de5d9fbe65b49c784dd698e83b0ca79.tar
JRummikub-d6b8b23c6de5d9fbe65b49c784dd698e83b0ca79.zip
Disable player panel while settings panel is shown
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@313 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control')
-rw-r--r--src/jrummikub/control/ApplicationControl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jrummikub/control/ApplicationControl.java b/src/jrummikub/control/ApplicationControl.java
index 88c04e3..bcaf437 100644
--- a/src/jrummikub/control/ApplicationControl.java
+++ b/src/jrummikub/control/ApplicationControl.java
@@ -28,6 +28,7 @@ public class ApplicationControl {
public void startApplication() {
view.showScorePanel(false);
view.enableWinPanel(false);
+ view.showInterface(false);
SettingsControl settingsControl = new SettingsControl(view,
new GameSettings());
settingsControl.getStartGameEvent().add(new IListener1<GameSettings>() {
@@ -41,6 +42,7 @@ public class ApplicationControl {
startApplication();
}
});
+ view.showInterface(true);
gameControl.startGame();
}