summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-29 20:19:17 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-29 20:19:17 +0200
commit794777c2fe8808444d2952d8abe287278d81f119 (patch)
tree014c8dce4acda3da13d1c6eb0e6b27a1a480f3fa /mock/jrummikub/view
parenteb7ccb46c5023fb8a3052f1c6d9fa5d2e384d15e (diff)
downloadJRummikub-794777c2fe8808444d2952d8abe287278d81f119.tar
JRummikub-794777c2fe8808444d2952d8abe287278d81f119.zip
Neuer Button im WinPanel mit funktion
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@309 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r--mock/jrummikub/view/MockView.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java
index a8c7c1f..b1d9d95 100644
--- a/mock/jrummikub/view/MockView.java
+++ b/mock/jrummikub/view/MockView.java
@@ -39,6 +39,9 @@ public class MockView implements IView {
/** */
public MockEvent newRoundEvent = new MockEvent();
+ /** */
+ public MockEvent newGameEvent = new MockEvent();
+
@Override
public MockTablePanel getTablePanel() {
return tablePanel;
@@ -80,7 +83,7 @@ public class MockView implements IView {
}
@Override
- public IEvent getFinalScoreEvent() {
+ public IEvent getEndProgramEvent() {
return quitEvent;
}
@@ -123,4 +126,9 @@ public class MockView implements IView {
}
+ @Override
+ public IEvent getNewGameEvent() {
+ return newGameEvent;
+ }
+
}