mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
spjspj - Add the option of having a .dck file as a cube
This commit is contained in:
parent
548b05ba74
commit
26d38f0773
6 changed files with 153 additions and 13 deletions
|
|
@ -45,6 +45,7 @@ public class LimitedOptions implements Serializable {
|
|||
protected DraftCube draftCube;
|
||||
protected int numberBoosters;
|
||||
protected boolean isRandom;
|
||||
protected String cubeFromDeckFilename = "";
|
||||
|
||||
public List<String> getSetCodes() {
|
||||
return sets;
|
||||
|
|
@ -66,6 +67,14 @@ public class LimitedOptions implements Serializable {
|
|||
this.draftCubeName = draftCubeName;
|
||||
}
|
||||
|
||||
public void setCubeFromDeckFilename(String cubeFromDeckFilename) {
|
||||
this.cubeFromDeckFilename = cubeFromDeckFilename;
|
||||
}
|
||||
|
||||
public String getCubeFromDeckFilename() {
|
||||
return cubeFromDeckFilename;
|
||||
}
|
||||
|
||||
public DraftCube getDraftCube() {
|
||||
return draftCube;
|
||||
}
|
||||
|
|
@ -88,4 +97,5 @@ public class LimitedOptions implements Serializable {
|
|||
public void setIsRandom(boolean isRandom){
|
||||
this.isRandom = isRandom;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue