summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IScorePanel.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-29 15:50:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-29 15:50:30 +0200
commit9cf3dc09ae319b6e627a4c52923bbc325137ef34 (patch)
tree73d6391aa1fb286770e0cdec1c502fc63ad61ae2 /src/jrummikub/view/IScorePanel.java
parenteea456991cc9e3d29ab51e8907b0374a61c77a96 (diff)
downloadJRummikub-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 'src/jrummikub/view/IScorePanel.java')
-rw-r--r--src/jrummikub/view/IScorePanel.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/jrummikub/view/IScorePanel.java b/src/jrummikub/view/IScorePanel.java
new file mode 100644
index 0000000..be0b912
--- /dev/null
+++ b/src/jrummikub/view/IScorePanel.java
@@ -0,0 +1,35 @@
+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();
+}