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