diff options
Diffstat (limited to 'mock')
-rw-r--r-- | mock/jrummikub/view/MockView.java | 10 |
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; + } + } |