summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub')
-rw-r--r--mock/jrummikub/control/network/MockConnectionControl.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java
index fbdfb04..924febb 100644
--- a/mock/jrummikub/control/network/MockConnectionControl.java
+++ b/mock/jrummikub/control/network/MockConnectionControl.java
@@ -53,6 +53,10 @@ public class MockConnectionControl implements IConnectionControl {
public GameData joinedGame;
/** */
public Color playerColor;
+ /** */
+ public boolean turnStarted;
+ /** */
+ public boolean turnEnded;
@Override
public String getNickname() {
@@ -191,13 +195,11 @@ public class MockConnectionControl implements IConnectionControl {
@Override
public void endTurn(ITable table) {
- // TODO Auto-generated method stub
-
+ turnEnded = true;
}
@Override
public void startTurn(IRoundState state) {
- // TODO Auto-generated method stub
-
+ turnStarted = true;
}
}