summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/IRoundState.java
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:54 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:54 +0200
commit92d110995488380778bd378f4297032a325dc385 (patch)
tree38bc26c6228a588b160bc0b053768044791dcaa4 /src/jrummikub/model/IRoundState.java
parentd9a0b0e37dbdde6d60fa4ee41c2a100547e7824b (diff)
downloadJRummikub-92d110995488380778bd378f4297032a325dc385.tar
JRummikub-92d110995488380778bd378f4297032a325dc385.zip
Select a random player for the first round
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@263 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model/IRoundState.java')
-rw-r--r--src/jrummikub/model/IRoundState.java14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/jrummikub/model/IRoundState.java b/src/jrummikub/model/IRoundState.java
index dea225b..4dbcd9a 100644
--- a/src/jrummikub/model/IRoundState.java
+++ b/src/jrummikub/model/IRoundState.java
@@ -64,8 +64,7 @@ public interface IRoundState {
* Sets the player that will make the last turn before the round ends when
* the heap is empty
*
- * @param lastPlayer
- * the last player
+ * @return the last player
*/
public abstract IPlayer getLastPlayer();
@@ -73,8 +72,17 @@ public interface IRoundState {
* Gets the player that will make the last turn before the round ends when
* the heap is empty
*
- * @return lastPlayer the last player
+ * @param lastPlayer
+ * the last player
*/
public abstract void setLastPlayer(IPlayer lastPlayer);
+ /**
+ * Makes the player with number i the active player
+ *
+ * @param i
+ * number of the player to make active
+ */
+ public void setActivePlayerNumber(int i);
+
} \ No newline at end of file