summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/control
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/control')
-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;
}
}