summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
authorBennet Gerlach <bennet_gerlach@web.de>2011-06-19 02:47:38 +0200
committerBennet Gerlach <bennet_gerlach@web.de>2011-06-19 02:47:38 +0200
commitbf24a9279ae23336cc8e14d6e1c40f1a2a0c33a7 (patch)
tree31ab0066fd1c0737d7b9acf5b858881b468468e7 /mock
parent4ddf87fc9638a7a099c57d650ed878571d0b0954 (diff)
downloadJRummikub-bf24a9279ae23336cc8e14d6e1c40f1a2a0c33a7.tar
JRummikub-bf24a9279ae23336cc8e14d6e1c40f1a2a0c33a7.zip
Start game button in a network game sends an event
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@479 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-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
+
+ }
}