blob: adc78a79b4459ad62cbca4d6f344a5f42daa4014 (
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 {
List<Boolean> winners;
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;
}
}
|