diff options
Diffstat (limited to 'src/jrummikub/control/turn/ITurnControl.java')
-rw-r--r-- | src/jrummikub/control/turn/ITurnControl.java | 17 |
1 files changed, 7 insertions, 10 deletions
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 |