summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/control
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/control')
-rw-r--r--mock/jrummikub/control/network/MockConnectionControl.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java
index 8428fd6..4aec478 100644
--- a/mock/jrummikub/control/network/MockConnectionControl.java
+++ b/mock/jrummikub/control/network/MockConnectionControl.java
@@ -40,6 +40,8 @@ public class MockConnectionControl implements IConnectionControl {
/** */
public MockEvent roundStartEvent = new MockEvent();
/** */
+ public MockEvent redealEvent = new MockEvent();
+ /** */
public MockEvent1<ITable> tableUpdateEvent = new MockEvent1<ITable>();
/** */
public MockEvent2<IRoundState, InvalidTurnInfo> turnEndEvent = new MockEvent2<IRoundState, InvalidTurnInfo>();
@@ -139,6 +141,11 @@ public class MockConnectionControl implements IConnectionControl {
}
@Override
+ public IEvent getRedealEvent() {
+ return redealEvent;
+ }
+
+ @Override
public IEvent1<ITable> getTableUpdateEvent() {
return tableUpdateEvent;
}
@@ -244,4 +251,10 @@ public class MockConnectionControl implements IConnectionControl {
public void nextPlayer() {
nextPlayer = true;
}
+
+ @Override
+ public void redeal() {
+ // TODO Auto-generated method stub
+
+ }
}