summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/Score.java
blob: 7020edce9aa6c603b60b8bf1386309b0b75902f9 (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
39
40
41
42
package jrummikub.model;

import java.util.List;

/**
 * Score of a single round
 */
public class Score {
	private List<Boolean> winners;
	private List<Integer> points;

	/**
	 * Create a new round score
	 * 
	 * @param winners
	 *            set for each player among the winners
	 * @param points
	 *            points of each player
	 */
	public Score(List<Boolean> winners, List<Integer> points) {
		this.winners = winners;
		this.points = points;
	}

	/**
	 * Get the winner list
	 * 
	 * @return set for each player among the winners
	 */
	public List<Boolean> getWinners() {
		return winners;
	}

	/**
	 * Get the point list
	 * 
	 * @return points of each player
	 */
	public List<Integer> getPoints() {
		return points;
	}
}