diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-22 10:51:16 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-22 10:51:16 +0200 |
commit | e9b2de87bca4e0ba34236455e2c25c9f17be26d3 (patch) | |
tree | 89ff360822ecda25ab51f3af604f8b0427436ff5 /src/jrummikub/control | |
parent | 73c1072ba68b152aeb85aa71ae751f5d8afb3a68 (diff) | |
download | JRummikub-e9b2de87bca4e0ba34236455e2c25c9f17be26d3.tar JRummikub-e9b2de87bca4e0ba34236455e2c25c9f17be26d3.zip |
Added Javadoc
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@593 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control')
-rw-r--r-- | src/jrummikub/control/network/NetworkControl.java | 5 | ||||
-rw-r--r-- | src/jrummikub/control/network/NetworkGameControl.java | 6 | ||||
-rw-r--r-- | src/jrummikub/control/network/NetworkRoundControl.java | 2 |
3 files changed, 11 insertions, 2 deletions
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; |