forked from External/mage
Added cubes for Sealed and Daft Tournaments. Added a simple Swiss like tournament format.
This commit is contained in:
parent
e3d543fa76
commit
e490d6af61
44 changed files with 3119 additions and 246 deletions
|
|
@ -44,14 +44,16 @@ public class ServerState implements Serializable {
|
|||
private List<TournamentTypeView> tournamentTypes;
|
||||
private String[] playerTypes;
|
||||
private String[] deckTypes;
|
||||
private String[] draftCubes;
|
||||
private boolean testMode;
|
||||
private MageVersion version;
|
||||
|
||||
public ServerState(List<GameTypeView> gameTypes, List<TournamentTypeView> tournamentTypes, String[] playerTypes, String[] deckTypes, boolean testMode, MageVersion version) {
|
||||
public ServerState(List<GameTypeView> gameTypes, List<TournamentTypeView> tournamentTypes, String[] playerTypes, String[] deckTypes, String[] draftCubes, boolean testMode, MageVersion version) {
|
||||
this.gameTypes = gameTypes;
|
||||
this.tournamentTypes = tournamentTypes;
|
||||
this.playerTypes = playerTypes;
|
||||
this.deckTypes = deckTypes;
|
||||
this.draftCubes = draftCubes;
|
||||
this.testMode = testMode;
|
||||
this.version = version;
|
||||
}
|
||||
|
|
@ -72,6 +74,10 @@ public class ServerState implements Serializable {
|
|||
return deckTypes;
|
||||
}
|
||||
|
||||
public String[] getDraftCubes() {
|
||||
return draftCubes;
|
||||
}
|
||||
|
||||
public boolean isTestMode() {
|
||||
return testMode;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue