summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub')
-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 1f68d65..b005eab 100644
--- a/mock/jrummikub/control/network/MockConnectionControl.java
+++ b/mock/jrummikub/control/network/MockConnectionControl.java
@@ -32,6 +32,8 @@ public class MockConnectionControl implements IConnectionControl {
/** */
public MockEvent2<String, Color> changeColorEvent = new MockEvent2<String, Color>();
/** */
+ public MockEvent gameStartEvent = new MockEvent();
+ /** */
public GameData currentGame;
/** */
public GameData offeredGame;
@@ -105,6 +107,11 @@ public class MockConnectionControl implements IConnectionControl {
}
@Override
+ public IEvent getGameStartEvent() {
+ return gameStartEvent;
+ }
+
+ @Override
public void offerGame(GameData data) {
// TODO Auto-generated method stub
}
@@ -146,4 +153,10 @@ public class MockConnectionControl implements IConnectionControl {
public void changeColor(Color color) {
playerColor = color;
}
+
+ @Override
+ public void startGame() {
+ // TODO Auto-generated method stub
+
+ }
}