summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/view/IView.java')
-rw-r--r--src/jrummikub/view/IView.java25
1 files changed, 15 insertions, 10 deletions
diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java
index 3e33e44..21aa173 100644
--- a/src/jrummikub/view/IView.java
+++ b/src/jrummikub/view/IView.java
@@ -1,5 +1,6 @@
package jrummikub.view;
+import java.awt.Color;
import java.util.Collection;
import jrummikub.model.Stone;
@@ -46,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);
@@ -54,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);
@@ -62,7 +63,7 @@ public interface IView {
* Enables or disables the player's StartTurnPanel
*
* @param enable
- * enable/disable
+ * enable/disable
*/
public void enableStartTurnPanel(boolean enable);
@@ -77,9 +78,9 @@ public interface IView {
* Enables or disables the panel shown when a player has won
*
* @param enable
- * enable/disable
+ * enable/disable
*/
- void enableWinPanel(boolean enable);
+ public void enableWinPanel(boolean enable);
/**
* The quit event is emitted when the player wants to quit the game
@@ -93,21 +94,25 @@ public interface IView {
*
* @return the event
*/
- IEvent getNewRoundEvent();
+ public IEvent getNewRoundEvent();
/**
* 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
*/
- void showSettingsPanel(boolean show);
+ public void showSettingsPanel(boolean show);
/**
* 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
*/
- void showScorePanel(boolean show);
+ public void showScorePanel(boolean show);
+
+ public void setCurrentPlayerColor(Color color);
+
+ public void setHasLaidOut(boolean hasLaidOut);
}