diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-11 04:09:29 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-11 04:09:29 +0200 |
commit | 2c4d2ba28baa858e9fb3eed52a9b76334330bcdf (patch) | |
tree | 600f91a2f310232d308eb5a198120510e49caa22 /src/jrummikub/view/ISettingsPanel.java | |
parent | 8b1e09f0257de32213debc4bcfcebfc061d51bb2 (diff) | |
download | JRummikub-2c4d2ba28baa858e9fb3eed52a9b76334330bcdf.tar JRummikub-2c4d2ba28baa858e9fb3eed52a9b76334330bcdf.zip |
No Limits implementiert und getestet, geht
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@413 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/ISettingsPanel.java')
-rw-r--r-- | src/jrummikub/view/ISettingsPanel.java | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/jrummikub/view/ISettingsPanel.java b/src/jrummikub/view/ISettingsPanel.java index 09b0394..bc2593d 100644 --- a/src/jrummikub/view/ISettingsPanel.java +++ b/src/jrummikub/view/ISettingsPanel.java @@ -6,6 +6,7 @@ import java.util.Set; import jrummikub.control.turn.TurnControlFactory; import jrummikub.model.GameSettings; import jrummikub.model.StoneColor; +import jrummikub.util.Event1; import jrummikub.util.IEvent; import jrummikub.util.IEvent1; import jrummikub.util.IEvent2; @@ -36,8 +37,8 @@ public interface ISettingsPanel { }; /** - * The add player event is emitted when the user wants to add a player to the - * player list + * The add player event is emitted when the user wants to add a player to + * the player list * * @return the event */ @@ -84,8 +85,8 @@ public interface ISettingsPanel { public IEvent1<Integer> getChangeInitialMeldThresholdEvent(); /** - * The change StoneSet number event is emitted when the user wants to use more - * or less than 2 StoneSets per color + * The change StoneSet number event is emitted when the user wants to use + * more or less than 2 StoneSets per color * * @return number of SoneSets */ @@ -126,7 +127,7 @@ public interface ISettingsPanel { * Sets an error to display * * @param error - * the kind of error + * the kind of error */ public void setError(SettingsError error); @@ -134,7 +135,7 @@ public interface ISettingsPanel { * Enables or disables the start game button * * @param enable - * specifies if the button is to be enabled or disabled + * specifies if the button is to be enabled or disabled */ public void enableStartGameButton(boolean enable); @@ -142,7 +143,7 @@ public interface ISettingsPanel { * Enables or disables the add player button * * @param enable - * specifies if the button is to be enabled or disabled + * specifies if the button is to be enabled or disabled */ public void enableAddPlayerButton(boolean enable); @@ -150,7 +151,7 @@ public interface ISettingsPanel { * Enables or disables the remove player buttons * * @param enable - * specifies if the buttons are to be enabled or disabled + * specifies if the buttons are to be enabled or disabled */ public void enableRemovePlayerButtons(boolean enable); @@ -159,7 +160,7 @@ public interface ISettingsPanel { * Sets the game settings to display * * @param gameSettings - * the settings + * the settings */ public void setGameSettings(GameSettings gameSettings); @@ -172,6 +173,8 @@ public interface ISettingsPanel { public IEvent1<Integer> getChangeTimeEvent(); + public IEvent1<Boolean> getChangeNoLimitsEvent(); + /** * Specifies the different kinds of settings errors that can be displayed */ @@ -193,4 +196,5 @@ public interface ISettingsPanel { /** Only computer players added */ COMPUTER_PLAYERS_ONLY_WARNING } + }
\ No newline at end of file |