summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/network
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-04 23:53:01 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-04 23:53:01 +0200
commitcabf7868e2f476577c6f4c2c2f001ca556b11bc1 (patch)
treef30e8e84e504d4b3f2627566d6531f294a5c2eb0 /src/jrummikub/control/network
parentf6a94e553f89de1544e8689db7e19709cba2b9fb (diff)
downloadJRummikub-cabf7868e2f476577c6f4c2c2f001ca556b11bc1.tar
JRummikub-cabf7868e2f476577c6f4c2c2f001ca556b11bc1.zip
Added NetworkTurnControlTest
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@606 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control/network')
-rw-r--r--src/jrummikub/control/network/NetworkTurnControl.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/jrummikub/control/network/NetworkTurnControl.java b/src/jrummikub/control/network/NetworkTurnControl.java
index 0f9c478..c07144b 100644
--- a/src/jrummikub/control/network/NetworkTurnControl.java
+++ b/src/jrummikub/control/network/NetworkTurnControl.java
@@ -4,8 +4,6 @@ import jrummikub.control.RoundControl.InvalidTurnInfo;
import jrummikub.control.turn.AbstractTurnControl;
import jrummikub.model.IRoundState;
import jrummikub.model.ITable;
-import jrummikub.util.Event1;
-import jrummikub.util.IEvent1;
import jrummikub.util.IListener;
import jrummikub.util.IListener1;
import jrummikub.util.IListener2;
@@ -15,7 +13,6 @@ import jrummikub.util.IListener2;
*/
public class NetworkTurnControl extends AbstractTurnControl {
private IConnectionControl connectionControl;
- private Event1<IRoundState> stateUpdateEvent = new Event1<IRoundState>();
/**
* Creates new network turn control
@@ -27,15 +24,6 @@ public class NetworkTurnControl extends AbstractTurnControl {
this.connectionControl = connectionControl;
}
- /**
- * The state update event is emitted when the state is sent into the network
- *
- * @return the event
- */
- public IEvent1<IRoundState> getStateUpdateEvent() {
- return stateUpdateEvent;
- }
-
@Override
public void doStartTurn() {
connections.add(connectionControl.getTableUpdateEvent().add(