summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-19 23:19:01 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-19 23:19:01 +0200
commit9df549727672e8df768d46e3ef1fb0c7957f0f89 (patch)
tree3ad4ef018dfb850aee56771c4227d9ce0b32be7e /mock/jrummikub
parent890051a3e93a31d0e1a6bc1a1d1bc14a7205b8b9 (diff)
downloadJRummikub-9df549727672e8df768d46e3ef1fb0c7957f0f89.tar
JRummikub-9df549727672e8df768d46e3ef1fb0c7957f0f89.zip
Make NetworkRoundControl test work
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@496 72836036-5685-4462-b002-a69064685172
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;
}
}