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.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java
index 115308d..d69d942 100644
--- a/src/jrummikub/view/IView.java
+++ b/src/jrummikub/view/IView.java
@@ -54,9 +54,25 @@ public interface IView {
*/
public IEvent getStartTurnEvent();
+ /**
+ * Enables or disables the panel shown when a player has won
+ *
+ * @param enable
+ * enable/disable
+ */
void enableWinPanel(boolean enable);
+ /**
+ * The quit event is emitted when the player wants to quit the game
+ *
+ * @return the event
+ */
IEvent getQuitEvent();
+ /**
+ * The new game event is emitted when the player wants to start a new game
+ *
+ * @return the event
+ */
IEvent getNewGameEvent();
}