From e9b2de87bca4e0ba34236455e2c25c9f17be26d3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 22 Jun 2011 10:51:16 +0200 Subject: Added Javadoc git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@593 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/network/NetworkControl.java | 5 +++++ src/jrummikub/control/network/NetworkGameControl.java | 6 ++++++ src/jrummikub/control/network/NetworkRoundControl.java | 2 -- 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'src/jrummikub/control/network') diff --git a/src/jrummikub/control/network/NetworkControl.java b/src/jrummikub/control/network/NetworkControl.java index d31442b..bf92ab5 100644 --- a/src/jrummikub/control/network/NetworkControl.java +++ b/src/jrummikub/control/network/NetworkControl.java @@ -382,6 +382,11 @@ public class NetworkControl { gameControl.startGame(); } + /** + * Returns if there is a running game + * + * @return is there a game running + */ public boolean isGameRunning() { return gameControl != null; } diff --git a/src/jrummikub/control/network/NetworkGameControl.java b/src/jrummikub/control/network/NetworkGameControl.java index 009c131..a277cd3 100644 --- a/src/jrummikub/control/network/NetworkGameControl.java +++ b/src/jrummikub/control/network/NetworkGameControl.java @@ -62,6 +62,12 @@ public class NetworkGameControl extends GameControl { })); } + /** + * The back event is emitted when the network game has ended and the player + * wants to return to the game list + * + * @return the event + */ public IEvent getBackEvent() { return backEvent; } diff --git a/src/jrummikub/control/network/NetworkRoundControl.java b/src/jrummikub/control/network/NetworkRoundControl.java index c8731ee..29ec397 100644 --- a/src/jrummikub/control/network/NetworkRoundControl.java +++ b/src/jrummikub/control/network/NetworkRoundControl.java @@ -1,7 +1,5 @@ package jrummikub.control.network; -import java.util.Date; - import jrummikub.control.RoundControl; import jrummikub.control.turn.ITurnControl; import jrummikub.model.IRoundState; -- cgit v1.2.3