summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/control
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-21 01:24:10 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-21 01:24:10 +0200
commit0b1151e6af8ce156d4ad5d6153cb5a02e99329d7 (patch)
treecd2b3e1ac7018028141fafde3c3c358c7574673c /mock/jrummikub/control
parent2f08091b65fdff96d3671549e74384ec8306668d (diff)
downloadJRummikub-0b1151e6af8ce156d4ad5d6153cb5a02e99329d7.tar
JRummikub-0b1151e6af8ce156d4ad5d6153cb5a02e99329d7.zip
Fix network mode
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@521 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/control')
-rw-r--r--mock/jrummikub/control/network/MockConnectionControl.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java
index 61c6a37..c7b7dd9 100644
--- a/mock/jrummikub/control/network/MockConnectionControl.java
+++ b/mock/jrummikub/control/network/MockConnectionControl.java
@@ -44,6 +44,10 @@ public class MockConnectionControl implements IConnectionControl {
/** */
public MockEvent2<IRoundState, InvalidTurnInfo> turnEndEvent = new MockEvent2<IRoundState, InvalidTurnInfo>();
/** */
+ public MockEvent1<IRoundState> roundStateUpdateEvent = new MockEvent1<IRoundState>();
+ /** */
+ public MockEvent nextPlayerEvent = new MockEvent();
+ /** */
public MockEvent turnStartEvent = new MockEvent();
/** */
public GameData currentGame;
@@ -148,6 +152,16 @@ public class MockConnectionControl implements IConnectionControl {
}
@Override
+ public IEvent1<IRoundState> getRoundStateUpdateEvent() {
+ return roundStateUpdateEvent;
+ }
+
+ @Override
+ public IEvent getNextPlayerEvent() {
+ return nextPlayerEvent;
+ }
+
+ @Override
public void offerGame(GameData data) {
offeredGame = data;
}
@@ -217,4 +231,16 @@ public class MockConnectionControl implements IConnectionControl {
// TODO Auto-generated method stub
}
+
+ @Override
+ public void updateRoundState(IRoundState roundState) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void nextPlayer() {
+ // TODO Auto-generated method stub
+
+ }
}