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.java42
1 files changed, 22 insertions, 20 deletions
diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java
index b84e366..b127377 100644
--- a/src/jrummikub/view/IView.java
+++ b/src/jrummikub/view/IView.java
@@ -5,6 +5,7 @@ import java.io.File;
import java.util.Collection;
import jrummikub.model.Stone;
+import jrummikub.model.StoneSet;
import jrummikub.util.IEvent;
import jrummikub.util.IEvent1;
@@ -236,23 +237,6 @@ public interface IView {
*/
public void showGameListPanel(boolean show);
- /**
- * Different types of bottom panels
- */
- public enum BottomPanelType {
- /** */
- START_GAME_PANEL,
- /** */
- START_TURN_PANEL,
- /** */
- INVALID_TURN_PANEL,
- /** */
- HUMAN_HAND_PANEL,
- /** */
- COMPUTER_HAND_PANEL,
- /** */
- WIN_PANEL
- }
/**
* Is set if a player tried to lay out less than initial meld threshold
@@ -260,18 +244,36 @@ public interface IView {
* @param points
* initial meld threshold
*/
- void setInitialMeldError(int points);
+ public void setInitialMeldError(int points);
/**
* Show stone collection
*
* @param enable
*/
- void setStoneCollectionHidden(boolean enable);
+ public void setStoneCollectionHidden(boolean enable);
/**
* Is set if the player tried to modify the table without laying out first
*/
- void setInitialMeldFirstError();
+ public void setInitialMeldFirstError();
+ public void setInvalidStoneSets(Collection<StoneSet> sets);
+ /**
+ * Different types of bottom panels
+ */
+ public enum BottomPanelType {
+ /** */
+ START_GAME_PANEL,
+ /** */
+ START_TURN_PANEL,
+ /** */
+ INVALID_TURN_PANEL,
+ /** */
+ HUMAN_HAND_PANEL,
+ /** */
+ COMPUTER_HAND_PANEL,
+ /** */
+ WIN_PANEL
+ }
}