summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/network/AbstractGameBeginControl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/control/network/AbstractGameBeginControl.java')
-rw-r--r--src/jrummikub/control/network/AbstractGameBeginControl.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/jrummikub/control/network/AbstractGameBeginControl.java b/src/jrummikub/control/network/AbstractGameBeginControl.java
index 341f94e..4fc0cc6 100644
--- a/src/jrummikub/control/network/AbstractGameBeginControl.java
+++ b/src/jrummikub/control/network/AbstractGameBeginControl.java
@@ -11,10 +11,8 @@ import jrummikub.model.PlayerSettings;
import jrummikub.model.PlayerSettings.Type;
import jrummikub.util.Connection;
import jrummikub.util.Event;
-import jrummikub.util.Event1;
import jrummikub.util.GameData;
import jrummikub.util.IEvent;
-import jrummikub.util.IEvent1;
import jrummikub.util.IListener;
import jrummikub.util.IListener2;
import jrummikub.view.ISettingsPanel;
@@ -31,7 +29,6 @@ public abstract class AbstractGameBeginControl {
protected IConnectionControl connectionControl;
protected IView view;
protected Event backEvent = new Event();
- private Event1<GameData> gameStartEvent = new Event1<GameData>();
/**
* Create a new game begin control
@@ -115,20 +112,6 @@ public abstract class AbstractGameBeginControl {
return backEvent;
}
- /**
- * The event that is emitted when the game is started
- *
- * @return the event
- */
- public IEvent1<GameData> getStartTurnEvent() {
- return gameStartEvent;
- }
-
- protected void startGame() {
- abort();
- gameStartEvent.emit(gameData);
- }
-
protected void abort() {
view.showSettingsPanel(false);
for (Connection c : connections) {