From 9cf3dc09ae319b6e627a4c52923bbc325137ef34 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 29 May 2011 15:50:30 +0200 Subject: Implement score panel git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@298 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/view/MockScorePanel.java | 32 ++++++++++++++++++++++++++++++++ mock/jrummikub/view/MockView.java | 17 +++++++++++++++-- 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 mock/jrummikub/view/MockScorePanel.java (limited to 'mock/jrummikub') 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 scores) { + // TODO Auto-generated method stub + + } + + @Override + public void setAccumulatedScore(Score finalScore) { + // TODO Auto-generated method stub + + } + + @Override + public void setPlayers(Iterable 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 + + } + +} -- cgit v1.2.3