summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/ApplicationControl.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-31 18:25:47 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-31 18:25:47 +0200
commitbc04d21afb9534e3f0aed53045ecc3a30a37bf81 (patch)
tree838c53802638fa06b9ddb9d73a34535abf597da5 /src/jrummikub/control/ApplicationControl.java
parent03b3bf23401c480602162c0e3f45626e5d9f2e0e (diff)
downloadJRummikub-bc04d21afb9534e3f0aed53045ecc3a30a37bf81.tar
JRummikub-bc04d21afb9534e3f0aed53045ecc3a30a37bf81.zip
View: Refactor bottom panel display
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@354 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control/ApplicationControl.java')
-rw-r--r--src/jrummikub/control/ApplicationControl.java5
1 files changed, 2 insertions, 3 deletions
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<GameSettings>() {
@@ -42,7 +42,6 @@ public class ApplicationControl {
startApplication();
}
});
- view.showInterface(true);
gameControl.startGame();
}