mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
add jumpstart swiss and elimiation tournament formats.
This commit is contained in:
parent
57ed834c14
commit
1695e6767d
12 changed files with 272 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