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
This commit is contained in:
Matthias Schiffer 2011-05-29 21:19:20 +02:00
parent e4a1246f01
commit d6b8b23c6d
5 changed files with 106 additions and 47 deletions

View file

@ -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();
}