diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-30 10:13:26 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-30 10:13:26 +0200 |
commit | 7404566d460683048dbce5020c7eb0fc32a06c77 (patch) | |
tree | eb7ad70c6d8c762480ef3baea8d9d05dca0749f4 /src/jrummikub/view | |
parent | b19a46b7b259f3a6e189ba594446be3ad54801f5 (diff) | |
download | JRummikub-7404566d460683048dbce5020c7eb0fc32a06c77.tar JRummikub-7404566d460683048dbce5020c7eb0fc32a06c77.zip |
Fixed a few warnings
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@320 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view')
-rw-r--r-- | src/jrummikub/view/ISettingsPanel.java | 1 | ||||
-rw-r--r-- | src/jrummikub/view/IView.java | 31 |
2 files changed, 20 insertions, 12 deletions
diff --git a/src/jrummikub/view/ISettingsPanel.java b/src/jrummikub/view/ISettingsPanel.java index cc1431d..d28a9b4 100644 --- a/src/jrummikub/view/ISettingsPanel.java +++ b/src/jrummikub/view/ISettingsPanel.java @@ -3,7 +3,6 @@ package jrummikub.view; import java.awt.Color; import jrummikub.control.turn.TurnControlFactory; -import jrummikub.control.turn.TurnControlFactory.Type; import jrummikub.model.GameSettings; import jrummikub.util.IEvent; import jrummikub.util.IEvent1; diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java index ade6769..acfd4ac 100644 --- a/src/jrummikub/view/IView.java +++ b/src/jrummikub/view/IView.java @@ -47,7 +47,7 @@ public interface IView { * Sets the current player's name * * @param playerName - * the player name + * the player name */ public void setCurrentPlayerName(String playerName); @@ -55,7 +55,7 @@ public interface IView { * Sets the stones that are to be painted selected * * @param stones - * the stones to be painted selected + * the stones to be painted selected */ public void setSelectedStones(Collection<Stone> stones); @@ -63,7 +63,7 @@ public interface IView { * Enables or disables the player's StartTurnPanel * * @param enable - * enable/disable + * enable/disable */ public void enableStartTurnPanel(boolean enable); @@ -78,7 +78,7 @@ public interface IView { * Enables or disables the panel shown when a player has won * * @param enable - * enable/disable + * enable/disable */ public void enableWinPanel(boolean enable); @@ -100,7 +100,7 @@ public interface IView { * Shows or hides the game settings panel * * @param show - * specifies if the panel shall be shown or hidden + * specifies if the panel shall be shown or hidden */ public void showSettingsPanel(boolean show); @@ -108,7 +108,7 @@ public interface IView { * Shows or hides the score panel * * @param show - * specifies if the panel shall be shown or hidden + * specifies if the panel shall be shown or hidden */ public void showScorePanel(boolean show); @@ -116,15 +116,17 @@ public interface IView { * Is used for the PlayerPanel and ScorePanel to display a player's color * along with the name * - * @param color the current player's color + * @param color + * the current player's color */ public void setCurrentPlayerColor(Color color); /** - * Is used for the PlayerPanel to display if a player has laid out along with - * the name + * Is used for the PlayerPanel to display if a player has laid out along + * with the name * - * @param hasLaidOut specifies if the current player has laid out or not + * @param hasLaidOut + * specifies if the current player has laid out or not */ public void setHasLaidOut(boolean hasLaidOut); @@ -139,9 +141,16 @@ public interface IView { * Enables or disables most parts of the interface * * @param enable - * specifies if the interface is to be enabled or disabled + * specifies if the interface is to be enabled or disabled */ void showInterface(boolean enable); + /** + * Enables or disables the panel shown while the computer player is making a + * move + * + * @param b + * specifies if the interface is enabled or disabled + */ public void enableThinkPanel(boolean b); } |