summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub')
-rw-r--r--mock/jrummikub/control/network/MockConnectionControl.java5
-rw-r--r--mock/jrummikub/view/MockSettingsPanel.java4
2 files changed, 6 insertions, 3 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;
}
}
diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java
index 594a3b3..16c183c 100644
--- a/mock/jrummikub/view/MockSettingsPanel.java
+++ b/mock/jrummikub/view/MockSettingsPanel.java
@@ -76,7 +76,9 @@ public class MockSettingsPanel implements ISettingsPanel {
public int highestValue;
/** */
public Set<StoneColor> stoneColors;
- private MockEvent backEvent = new MockEvent();
+ /** */
+ public MockEvent backEvent = new MockEvent();
+ /** */
public SettingsMode settingsMode;
@Override