summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IView.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-05 00:01:24 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-05 00:01:24 +0200
commit6cac00762bce24c3997a9e4958419013b60c4be2 (patch)
tree2a966d01918afe29f5cc9239a9cd265caa85f3eb /src/jrummikub/view/IView.java
parent16da68b0ae641f5c3050d4c2a723d2b46d97b8c7 (diff)
downloadJRummikub-6cac00762bce24c3997a9e4958419013b60c4be2.tar
JRummikub-6cac00762bce24c3997a9e4958419013b60c4be2.zip
Added some documentation
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@134 72836036-5685-4462-b002-a69064685172
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();
}