mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
chaos booster draft implementation first check-in
This commit is contained in:
parent
8685c67679
commit
e3b84eaab5
12 changed files with 462 additions and 14 deletions
|
|
@ -36,7 +36,7 @@ import mage.game.tournament.TournamentType;
|
|||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class TournamentTypeView implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 2L;
|
||||
|
||||
private final String name;
|
||||
private final int minPlayers;
|
||||
|
|
@ -46,6 +46,7 @@ public class TournamentTypeView implements Serializable {
|
|||
private final boolean limited;
|
||||
private final boolean cubeBooster;
|
||||
private final boolean elimination;
|
||||
private final boolean chaos;
|
||||
|
||||
|
||||
public TournamentTypeView(TournamentType tournamentType) {
|
||||
|
|
@ -57,6 +58,7 @@ public class TournamentTypeView implements Serializable {
|
|||
this.limited = tournamentType.isLimited();
|
||||
this.cubeBooster = tournamentType.isCubeBooster();
|
||||
this.elimination = tournamentType.isElimination();
|
||||
this.chaos = tournamentType.isChaos();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -96,4 +98,7 @@ public class TournamentTypeView implements Serializable {
|
|||
return elimination;
|
||||
}
|
||||
|
||||
public boolean isChaos(){
|
||||
return chaos;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue