diff options
Diffstat (limited to 'mock/jrummikub')
-rw-r--r-- | mock/jrummikub/view/MockPlayerPanel.java | 3 | ||||
-rw-r--r-- | mock/jrummikub/view/MockView.java | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/mock/jrummikub/view/MockPlayerPanel.java b/mock/jrummikub/view/MockPlayerPanel.java index b69c109..497e445 100644 --- a/mock/jrummikub/view/MockPlayerPanel.java +++ b/mock/jrummikub/view/MockPlayerPanel.java @@ -17,6 +17,8 @@ public class MockPlayerPanel implements IPlayerPanel { /** */ public MockEvent sortByRunsEvent = new MockEvent(); /** */ + public MockEvent pauseEvent = new MockEvent(); + /** */ public TurnMode turnMode; @Override @@ -49,5 +51,4 @@ public class MockPlayerPanel implements IPlayerPanel { public void setEndTurnMode(TurnMode turnMode) { this.turnMode = turnMode; } - } diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java index b816ea9..fd7b896 100644 --- a/mock/jrummikub/view/MockView.java +++ b/mock/jrummikub/view/MockView.java @@ -49,6 +49,10 @@ public class MockView implements IView { public MockEvent1<File> loadEvent = new MockEvent1<File>(); /** */ public MockEvent1<File> saveEvent = new MockEvent1<File>(); + /** */ + public MockEvent pauseEvent = new MockEvent(); + /** */ + public MockEvent endPauseEvent = new MockEvent(); @Override public MockTablePanel getTablePanel() { @@ -157,4 +161,20 @@ public class MockView implements IView { @Override public void clearView() { } + + @Override + public void enablePauseMode(boolean enable) { + // TODO Auto-generated method stub + + } + + @Override + public IEvent getPauseEvent() { + return pauseEvent; + } + + @Override + public IEvent getEndPauseEvent() { + return endPauseEvent; + } } |