summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IScorePanel.java
blob: 22e27fe2f17ae2c9bf08e526db34420a44794b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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();
}