From 92d110995488380778bd378f4297032a325dc385 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 24 May 2011 01:51:54 +0200 Subject: 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 --- src/jrummikub/model/IRoundState.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/jrummikub/model/IRoundState.java') 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 -- cgit v1.2.3