mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
Merge pull request #6669 from hitch17/jumpstart-tournament-formats
Add jumpstart swiss and elimination tournament formats.
This commit is contained in:
commit
d5616a86f9
13 changed files with 1518 additions and 5 deletions
|
|
@ -22,6 +22,7 @@ public class TournamentTypeView implements Serializable {
|
|||
private final boolean elimination;
|
||||
private final boolean random;
|
||||
private final boolean richMan;
|
||||
private final boolean jumpstart;
|
||||
|
||||
public TournamentTypeView(TournamentType tournamentType) {
|
||||
this.name = tournamentType.getName();
|
||||
|
|
@ -34,6 +35,7 @@ public class TournamentTypeView implements Serializable {
|
|||
this.elimination = tournamentType.isElimination();
|
||||
this.random = tournamentType.isRandom();
|
||||
this.richMan = tournamentType.isRichMan();
|
||||
this.jumpstart = tournamentType.isJumpstart();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -80,4 +82,9 @@ public class TournamentTypeView implements Serializable {
|
|||
public boolean isRichMan() {
|
||||
return richMan;
|
||||
}
|
||||
|
||||
public boolean isJumpstart() {
|
||||
return jumpstart;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue