summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/network
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-06-13 19:22:01 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-06-13 19:22:01 +0200
commita15626ac3b86d3153e32b7b160403c9ab66b1034 (patch)
treeb29862f46e3b2f8ea549a9ccdf1e34a3731c381f /src/jrummikub/control/network
parent56797840e2c16913627bfa57f2a49d1788443727 (diff)
downloadJRummikub-a15626ac3b86d3153e32b7b160403c9ab66b1034.tar
JRummikub-a15626ac3b86d3153e32b7b160403c9ab66b1034.zip
Liste der Spielertypen ist setzbar
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@422 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control/network')
-rw-r--r--src/jrummikub/control/network/NetworkSettingsControl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jrummikub/control/network/NetworkSettingsControl.java b/src/jrummikub/control/network/NetworkSettingsControl.java
index 9459986..b9af560 100644
--- a/src/jrummikub/control/network/NetworkSettingsControl.java
+++ b/src/jrummikub/control/network/NetworkSettingsControl.java
@@ -1,9 +1,11 @@
package jrummikub.control.network;
+import java.util.Arrays;
import java.util.UUID;
import jrummikub.control.SettingsControl;
import jrummikub.model.GameSettings;
+import jrummikub.model.PlayerSettings.Type;
import jrummikub.view.IGameListPanel.GameData;
import jrummikub.view.IView;
@@ -28,6 +30,8 @@ public class NetworkSettingsControl extends SettingsControl {
IView view, GameSettings settings) {
super(view, settings);
this.connectionControl = connectionControl;
+ /*view.getSettingsPanel().setPlayerTypeChoices(
+ Arrays.asList(Type.NETWORK, Type.COMPUTER));*/
view.getSettingsPanel().enableNetworkMode(true);
}