Buttons im Settings panel sind richtig im netzwerk und außerhalb

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@421 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Ida Massow 2011-06-13 18:22:57 +02:00
parent 70d6ae6d74
commit 56797840e2
6 changed files with 89 additions and 18 deletions

View file

@ -40,6 +40,7 @@ public class SettingsControl {
public SettingsControl(IView view, GameSettings settings) {
this.view = view;
this.settings = settings;
view.getSettingsPanel().enableNetworkMode(false);
}
/**
@ -71,7 +72,6 @@ public class SettingsControl {
startGame();
}
}));
view.showSettingsPanel(true);
}

View file

@ -28,6 +28,7 @@ public class NetworkSettingsControl extends SettingsControl {
IView view, GameSettings settings) {
super(view, settings);
this.connectionControl = connectionControl;
view.getSettingsPanel().enableNetworkMode(true);
}
@Override