From 640a1e0fb67dd6de744670bf5f0980e89620ca4c Mon Sep 17 00:00:00 2001 From: Bennet Gerlach Date: Tue, 31 May 2011 20:42:46 +0200 Subject: Metric fixes git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@358 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/turn/ITurnControl.java | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'src/jrummikub/control/turn/ITurnControl.java') diff --git a/src/jrummikub/control/turn/ITurnControl.java b/src/jrummikub/control/turn/ITurnControl.java index 4616070..edf1e4d 100644 --- a/src/jrummikub/control/turn/ITurnControl.java +++ b/src/jrummikub/control/turn/ITurnControl.java @@ -11,26 +11,23 @@ import jrummikub.view.IView; * Interface containing shared methods of human and computer turn control * */ -// TODO zu viele parameter public interface ITurnControl { /** * Start the turn * * @param settings - * the game settings + * the game settings * @param player - * the active player + * the active player * @param table - * current table + * current table * @param view - * view for user interaction. - * @param inspectOnly - * the current turn doesn't allow any table manipulation - * @param mayRedeal - * true when the current player may decide to redeal + * view for user interaction. + * @param turnMode + * whether it is turn zero and if one may redeal */ public void setup(GameSettings settings, IPlayer player, ITable table, - IView view, boolean inspectOnly, boolean mayRedeal); + IView view, TurnMode turnMode); /** * Get the event that is emitted when the turn is over -- cgit v1.2.3