From cabf7868e2f476577c6f4c2c2f001ca556b11bc1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 4 Jul 2011 23:53:01 +0200 Subject: Added NetworkTurnControlTest git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@606 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/network/NetworkTurnControl.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/jrummikub') 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 stateUpdateEvent = new Event1(); /** * 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 getStateUpdateEvent() { - return stateUpdateEvent; - } - @Override public void doStartTurn() { connections.add(connectionControl.getTableUpdateEvent().add( -- cgit v1.2.3