From d6b8b23c6de5d9fbe65b49c784dd698e83b0ca79 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 29 May 2011 21:19:20 +0200 Subject: 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 --- src/jrummikub/control/ApplicationControl.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/jrummikub/control') 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() { @@ -41,6 +42,7 @@ public class ApplicationControl { startApplication(); } }); + view.showInterface(true); gameControl.startGame(); } -- cgit v1.2.3