* Tournament handling - Finished pairing are updated now to tournament players list immediately.

This commit is contained in:
LevelX2 2014-02-17 00:41:40 +01:00
parent ce967ee88c
commit 4e5de2b7f9
10 changed files with 120 additions and 76 deletions

View file

@ -43,16 +43,16 @@ import mage.game.tournament.TournamentPlayer;
public class TournamentView implements Serializable {
private static final long serialVersionUID = 1L;
private String tournamentName;
private String tournamentType;
private final String tournamentName;
private final String tournamentType;
private Date startTime;
private Date endTime;
private final Date startTime;
private final Date endTime;
private boolean watchingAllowed;
private final boolean watchingAllowed;
private List<RoundView> rounds = new ArrayList<RoundView>();
private List<TournamentPlayerView> players = new ArrayList<TournamentPlayerView>();
private final List<RoundView> rounds = new ArrayList<RoundView>();
private final List<TournamentPlayerView> players = new ArrayList<TournamentPlayerView>();
public TournamentView(Tournament tournament) {