From bc04d21afb9534e3f0aed53045ecc3a30a37bf81 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 31 May 2011 18:25:47 +0200 Subject: View: Refactor bottom panel display git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@354 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/ApplicationControl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/jrummikub/control/ApplicationControl.java') diff --git a/src/jrummikub/control/ApplicationControl.java b/src/jrummikub/control/ApplicationControl.java index bcaf437..cf9a8ca 100644 --- a/src/jrummikub/control/ApplicationControl.java +++ b/src/jrummikub/control/ApplicationControl.java @@ -4,6 +4,7 @@ import jrummikub.model.GameSettings; import jrummikub.util.IListener; import jrummikub.util.IListener1; import jrummikub.view.IView; +import jrummikub.view.IView.BottomPanelType; /** * The application control controls the settings for a new games and create the @@ -27,8 +28,7 @@ public class ApplicationControl { */ public void startApplication() { view.showScorePanel(false); - view.enableWinPanel(false); - view.showInterface(false); + view.setBottomPanel(BottomPanelType.START_GAME_PANEL); SettingsControl settingsControl = new SettingsControl(view, new GameSettings()); settingsControl.getStartGameEvent().add(new IListener1() { @@ -42,7 +42,6 @@ public class ApplicationControl { startApplication(); } }); - view.showInterface(true); gameControl.startGame(); } -- cgit v1.2.3