diff options
Diffstat (limited to 'mock/jrummikub')
-rw-r--r-- | mock/jrummikub/control/network/MockConnectionControl.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java index 4aec478..ce8c4e3 100644 --- a/mock/jrummikub/control/network/MockConnectionControl.java +++ b/mock/jrummikub/control/network/MockConnectionControl.java @@ -52,6 +52,8 @@ public class MockConnectionControl implements IConnectionControl { /** */ public MockEvent turnStartEvent = new MockEvent(); /** */ + public MockEvent1<String> participantLeftEvent = new MockEvent1<String>(); + /** */ public GameData currentGame; /** */ public GameData offeredGame; @@ -171,6 +173,11 @@ public class MockConnectionControl implements IConnectionControl { } @Override + public IEvent1<String> getParticipantLeftEvent() { + return participantLeftEvent; + } + + @Override public void offerGame(GameData data) { offeredGame = data; } |