summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IView.java
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-29 18:42:36 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-29 18:42:36 +0200
commit05107f6035e93d8fe37de0b6beb627b11a05b87b (patch)
tree4cc4218db5457c3b7f8f95755c9a96ab833787de /src/jrummikub/view/IView.java
parent9cf3dc09ae319b6e627a4c52923bbc325137ef34 (diff)
downloadJRummikub-05107f6035e93d8fe37de0b6beb627b11a05b87b.tar
JRummikub-05107f6035e93d8fe37de0b6beb627b11a05b87b.zip
Rauskommen ist in der View zu sehen, genauso wie Farben
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@299 72836036-5685-4462-b002-a69064685172
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);
}