
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@299 72836036-5685-4462-b002-a69064685172
38 lines
724 B
Java
38 lines
724 B
Java
package jrummikub.view;
|
|
|
|
import jrummikub.model.PlayerSettings;
|
|
import jrummikub.model.Score;
|
|
|
|
/**
|
|
* The panel the scores are displayed in
|
|
*/
|
|
public interface IScorePanel {
|
|
/**
|
|
* Sets the scores of the played rounds
|
|
*
|
|
* @param scores
|
|
* the round scores
|
|
*/
|
|
public void setScores(Iterable<Score> scores);
|
|
|
|
/**
|
|
* Sets the accumulated scores to display
|
|
*
|
|
* @param accumulatedScore
|
|
* the accumulated score
|
|
*/
|
|
public void setAccumulatedScore(Score accumulatedScore);
|
|
|
|
/**
|
|
* Sets the player list to display
|
|
*
|
|
* @param players
|
|
* the player list
|
|
*/
|
|
void setPlayers(Iterable<PlayerSettings> players);
|
|
|
|
/**
|
|
* Updates the score display
|
|
*/
|
|
void update();
|
|
}
|