diff options
Diffstat (limited to 'mock')
-rw-r--r-- | mock/jrummikub/view/MockScorePanel.java | 32 | ||||
-rw-r--r-- | mock/jrummikub/view/MockView.java | 17 |
2 files changed, 47 insertions, 2 deletions
diff --git a/mock/jrummikub/view/MockScorePanel.java b/mock/jrummikub/view/MockScorePanel.java new file mode 100644 index 0000000..44f8956 --- /dev/null +++ b/mock/jrummikub/view/MockScorePanel.java @@ -0,0 +1,32 @@ +package jrummikub.view; + +import jrummikub.model.PlayerSettings; +import jrummikub.model.Score; + +public class MockScorePanel implements IScorePanel { + + @Override + public void setScores(Iterable<Score> scores) { + // TODO Auto-generated method stub + + } + + @Override + public void setAccumulatedScore(Score finalScore) { + // TODO Auto-generated method stub + + } + + @Override + public void setPlayers(Iterable<PlayerSettings> players) { + // TODO Auto-generated method stub + + } + + @Override + public void update() { + // TODO Auto-generated method stub + + } + +} diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java index 431641a..d0b3462 100644 --- a/mock/jrummikub/view/MockView.java +++ b/mock/jrummikub/view/MockView.java @@ -12,7 +12,9 @@ import jrummikub.util.MockEvent; public class MockView implements IView { /** */ public MockSettingsPanel settingsPanel = new MockSettingsPanel(); - + /** */ + public MockScorePanel scorePanel = new MockScorePanel(); + /** */ public MockPlayerPanel playerPanel = new MockPlayerPanel(); /** */ public MockTablePanel tablePanel = new MockTablePanel(); @@ -97,4 +99,15 @@ public class MockView implements IView { } -}
\ No newline at end of file + @Override + public IScorePanel getScorePanel() { + return scorePanel; + } + + @Override + public void showScorePanel(boolean show) { + // TODO Auto-generated method stub + + } + +} |