diff options
Diffstat (limited to 'src/jrummikub/view')
-rw-r--r-- | src/jrummikub/view/IPlayerPanel.java | 10 | ||||
-rw-r--r-- | src/jrummikub/view/ISettingsPanel.java | 20 |
2 files changed, 26 insertions, 4 deletions
diff --git a/src/jrummikub/view/IPlayerPanel.java b/src/jrummikub/view/IPlayerPanel.java index 6994456..cc9c64d 100644 --- a/src/jrummikub/view/IPlayerPanel.java +++ b/src/jrummikub/view/IPlayerPanel.java @@ -11,7 +11,9 @@ public interface IPlayerPanel { * Sets the time the player has left for his turn * * @param time - * the time left + * the time left + * @param totalTime + * total time for a turn */ public void setTime(int time, int totalTime); @@ -24,8 +26,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 */ @@ -49,7 +51,7 @@ public interface IPlayerPanel { * Sets the buttons available to end the turn * * @param turnMode - * the {@link TurnMode} + * the {@link TurnMode} */ public void setEndTurnMode(TurnMode turnMode); } diff --git a/src/jrummikub/view/ISettingsPanel.java b/src/jrummikub/view/ISettingsPanel.java index b00046f..4fca9ad 100644 --- a/src/jrummikub/view/ISettingsPanel.java +++ b/src/jrummikub/view/ISettingsPanel.java @@ -170,12 +170,32 @@ public interface ISettingsPanel { */ public IEvent1<Integer> getChangeJokerNumberEvent(); + /** + * Emitted when totalTime for a turn is changed + * + * @return the event + */ public IEvent1<Integer> getChangeTimeEvent(); + /** + * Emitted when no limits is chosen + * + * @return the event + */ public IEvent1<Boolean> getChangeNoLimitsEvent(); + /** + * Emitted when the variables are reset to the default values + * + * @return the event + */ public IEvent getSetVariantDefaultEvent(); + /** + * Emitted when the children variant is chosen + * + * @return the event + */ public IEvent getSetVariantChildrenEvent(); /** |