From bf24a9279ae23336cc8e14d6e1c40f1a2a0c33a7 Mon Sep 17 00:00:00 2001 From: Bennet Gerlach Date: Sun, 19 Jun 2011 02:47:38 +0200 Subject: 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 --- mock/jrummikub/control/network/MockConnectionControl.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mock') 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 changeColorEvent = new MockEvent2(); /** */ + public MockEvent gameStartEvent = new MockEvent(); + /** */ public GameData currentGame; /** */ public GameData offeredGame; @@ -104,6 +106,11 @@ public class MockConnectionControl implements IConnectionControl { return changeColorEvent; } + @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 + + } } -- cgit v1.2.3