diff options
Diffstat (limited to 'src/jrummikub/view/IPlayerPanel.java')
-rw-r--r-- | src/jrummikub/view/IPlayerPanel.java | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/jrummikub/view/IPlayerPanel.java b/src/jrummikub/view/IPlayerPanel.java index 0181a9e..133adba 100644 --- a/src/jrummikub/view/IPlayerPanel.java +++ b/src/jrummikub/view/IPlayerPanel.java @@ -1,5 +1,6 @@ package jrummikub.view; +import jrummikub.control.turn.TurnMode; import jrummikub.util.IEvent; /** @@ -10,7 +11,7 @@ public interface IPlayerPanel { * Sets the time the player has left for his turn * * @param time - * the time left + * the time left */ public void setTimeLeft(int time); @@ -23,8 +24,8 @@ public interface IPlayerPanel { public IEvent getSortByGroupsEvent(); /** - * The sort by runs event is emitted when the player wants to sort his - * stones by runs + * The sort by runs event is emitted when the player wants to sort his stones + * by runs * * @return the event */ @@ -47,11 +48,8 @@ public interface IPlayerPanel { /** * Sets the buttons available to end the turn * - * @param inspectOnly - * true for each player's first turn - * @param mayRedeal - * true if the player is allowed to trigger a redealing of all - * stones + * @param turnMode + * the {@link TurnMode} */ - public abstract void setEndTurnMode(boolean inspectOnly, boolean mayRedeal); + public abstract void setEndTurnMode(TurnMode turnMode); } |