From 0b1151e6af8ce156d4ad5d6153cb5a02e99329d7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 21 Jun 2011 01:24:10 +0200 Subject: Fix network mode git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@521 72836036-5685-4462-b002-a69064685172 --- .../control/network/MockConnectionControl.java | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'mock') 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 turnEndEvent = new MockEvent2(); /** */ + public MockEvent1 roundStateUpdateEvent = new MockEvent1(); + /** */ + public MockEvent nextPlayerEvent = new MockEvent(); + /** */ public MockEvent turnStartEvent = new MockEvent(); /** */ public GameData currentGame; @@ -147,6 +151,16 @@ public class MockConnectionControl implements IConnectionControl { return turnStartEvent; } + @Override + public IEvent1 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 + + } } -- cgit v1.2.3