package jrummikub.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Score of a single round */ public class Score implements Serializable { private static final long serialVersionUID = 2200041688506962025L; private ArrayList winners; private ArrayList points; /** * Create a new round score * * @param winners * set for each player among the winners * @param points * points of each player */ public Score(List winners, List points) { this.winners = new ArrayList(winners); this.points = new ArrayList(points); } /** * Get the winner list * * @return set for each player among the winners */ public List getWinners() { return winners; } /** * Get the point list * * @return points of each player */ public List getPoints() { return points; } }