diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-13 23:57:02 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-13 23:57:02 +0200 |
commit | d223eaaa9839dc974b5d51cbd004f92818e2ada4 (patch) | |
tree | d492ed6844eadd5eead77158c8968be825b5fba3 /src/jrummikub/control/network | |
parent | f5a05f2c8d42b9f5978d8118c065fa8a871ec2fd (diff) | |
download | JRummikub-d223eaaa9839dc974b5d51cbd004f92818e2ada4.tar JRummikub-d223eaaa9839dc974b5d51cbd004f92818e2ada4.zip |
es gibt eine AbstractSettingsControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@427 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control/network')
-rw-r--r-- | src/jrummikub/control/network/NetworkSettingsControl.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jrummikub/control/network/NetworkSettingsControl.java b/src/jrummikub/control/network/NetworkSettingsControl.java index 3c8dc42..8afe49e 100644 --- a/src/jrummikub/control/network/NetworkSettingsControl.java +++ b/src/jrummikub/control/network/NetworkSettingsControl.java @@ -5,7 +5,7 @@ import java.util.Arrays; import java.util.Collections; import java.util.List; -import jrummikub.control.SettingsControl; +import jrummikub.control.AbstractSettingsControl; import jrummikub.model.GameSettings; import jrummikub.model.PlayerSettings; import jrummikub.model.PlayerSettings.Type; @@ -15,7 +15,7 @@ import jrummikub.view.IView; /** * Settings for network games, entered by host */ -public class NetworkSettingsControl extends SettingsControl { +public class NetworkSettingsControl extends AbstractSettingsControl { private String nickname; /** @@ -30,9 +30,9 @@ public class NetworkSettingsControl extends SettingsControl { */ public NetworkSettingsControl(String nickname, IView view, GameSettings settings) { + super(view, settings); this.nickname = nickname; - this.view = view; - this.settings = settings; + view.getSettingsPanel().enableNetworkMode(true); view.getSettingsPanel().setPlayerNamesEditable( Collections.<Boolean> emptyList()); |