summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/view/MockView.java28
1 files changed, 27 insertions, 1 deletions
diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java
index 09f3254..044e52f 100644
--- a/mock/jrummikub/view/MockView.java
+++ b/mock/jrummikub/view/MockView.java
@@ -36,9 +36,16 @@ public class MockView implements IView {
public MockEvent quitEvent = new MockEvent();
/** */
public MockEvent newRoundEvent = new MockEvent();
-
/** */
public MockEvent newGameEvent = new MockEvent();
+ /** */
+ public MockEvent menuNewGameEvent = new MockEvent();
+ /** */
+ public MockEvent menuLoadEvent = new MockEvent();
+ /** */
+ public MockEvent menuSaveEvent = new MockEvent();
+ /** */
+ public MockEvent menuQuitEvent = new MockEvent();
@Override
public MockTablePanel getTablePanel() {
@@ -124,4 +131,23 @@ public class MockView implements IView {
bottomPanelType = type;
}
+ @Override
+ public IEvent getMenuNewGameEvent() {
+ return menuNewGameEvent;
+ }
+
+ @Override
+ public IEvent getMenuLoadEvent() {
+ return menuLoadEvent;
+ }
+
+ @Override
+ public IEvent getMenuSaveEvent() {
+ return menuSaveEvent;
+ }
+
+ @Override
+ public IEvent getMenuQuitEvent() {
+ return menuQuitEvent;
+ }
}