diff options
Diffstat (limited to 'src/jrummikub/control/turn/ITurnControl.java')
-rw-r--r-- | src/jrummikub/control/turn/ITurnControl.java | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/jrummikub/control/turn/ITurnControl.java b/src/jrummikub/control/turn/ITurnControl.java index decd718..4616070 100644 --- a/src/jrummikub/control/turn/ITurnControl.java +++ b/src/jrummikub/control/turn/ITurnControl.java @@ -7,22 +7,27 @@ import jrummikub.util.Event; import jrummikub.util.IEvent; 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. + * view for user interaction. * @param inspectOnly - * the current turn doesn't allow any table manipulation + * the current turn doesn't allow any table manipulation * @param mayRedeal - * true when the current player may decide to redeal + * true when the current player may decide to redeal */ public void setup(GameSettings settings, IPlayer player, ITable table, IView view, boolean inspectOnly, boolean mayRedeal); |