diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-20 03:59:04 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-20 03:59:04 +0200 |
commit | f3f8ffe4621e91d33732bba9e103ff790a16c7b3 (patch) | |
tree | a4663053ea570c7a077a244de9f4f884294208d1 /mock/jrummikub/control | |
parent | e79295f271062f2186c2ce0f9b69f1ddfc964abf (diff) | |
download | JRummikub-f3f8ffe4621e91d33732bba9e103ff790a16c7b3.tar JRummikub-f3f8ffe4621e91d33732bba9e103ff790a16c7b3.zip |
Added NetworkGameControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@503 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/control')
-rw-r--r-- | mock/jrummikub/control/network/MockConnectionControl.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java index d0bb1fa..32c22c4 100644 --- a/mock/jrummikub/control/network/MockConnectionControl.java +++ b/mock/jrummikub/control/network/MockConnectionControl.java @@ -37,6 +37,8 @@ public class MockConnectionControl implements IConnectionControl { /** */ public MockEvent gameStartEvent = new MockEvent(); /** */ + public MockEvent roundStartEvent = new MockEvent(); + /** */ public MockEvent1<ITable> tableUpdateEvent = new MockEvent1<ITable>(); /** */ public MockEvent1<ITable> turnEndEvent = new MockEvent1<ITable>(); @@ -125,6 +127,11 @@ public class MockConnectionControl implements IConnectionControl { } @Override + public IEvent getRoundStartEvent() { + return roundStartEvent; + } + + @Override public IEvent1<ITable> getTableUpdateEvent() { return tableUpdateEvent; } @@ -203,4 +210,10 @@ public class MockConnectionControl implements IConnectionControl { public void startTurn(IRoundState state) { turnStarted = true; } + + @Override + public void startRound() { + // TODO Auto-generated method stub + + } } |