diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-29 15:50:30 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-29 15:50:30 +0200 |
commit | 9cf3dc09ae319b6e627a4c52923bbc325137ef34 (patch) | |
tree | 73d6391aa1fb286770e0cdec1c502fc63ad61ae2 /mock/jrummikub/view | |
parent | eea456991cc9e3d29ab51e8907b0374a61c77a96 (diff) | |
download | JRummikub-9cf3dc09ae319b6e627a4c52923bbc325137ef34.tar JRummikub-9cf3dc09ae319b6e627a4c52923bbc325137ef34.zip |
Implement score panel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@298 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/view')
-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 + + } + +} |