Implement score panel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@298 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
eea456991c
commit
9cf3dc09ae
8 changed files with 270 additions and 14 deletions
32
mock/jrummikub/view/MockScorePanel.java
Normal file
32
mock/jrummikub/view/MockScorePanel.java
Normal file
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -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 {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
@Override
|
||||
public IScorePanel getScorePanel() {
|
||||
return scorePanel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void showScorePanel(boolean show) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue