summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/control/network
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-06-19 02:45:49 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-06-19 02:45:49 +0200
commit4ddf87fc9638a7a099c57d650ed878571d0b0954 (patch)
tree50f5754c83dd556af6fcc81b1d64823f8b69b9b9 /mock/jrummikub/control/network
parentf641b76bcac15871458e649cdde02331c2cef882 (diff)
downloadJRummikub-4ddf87fc9638a7a099c57d650ed878571d0b0954.tar
JRummikub-4ddf87fc9638a7a099c57d650ed878571d0b0954.zip
Test für game join control
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@478 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/control/network')
-rw-r--r--mock/jrummikub/control/network/MockConnectionControl.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java
index 7d97c78..1f68d65 100644
--- a/mock/jrummikub/control/network/MockConnectionControl.java
+++ b/mock/jrummikub/control/network/MockConnectionControl.java
@@ -41,6 +41,8 @@ public class MockConnectionControl implements IConnectionControl {
public boolean failOnConnect;
/** */
public GameData joinedGame;
+ /** */
+ public Color playerColor;
@Override
public String getNickname() {
@@ -142,7 +144,6 @@ public class MockConnectionControl implements IConnectionControl {
@Override
public void changeColor(Color color) {
- // TODO Auto-generated method stub
-
+ playerColor = color;
}
}