spjspj - Add the option of having a .dck file as a cube

This commit is contained in:
spjspj 2016-07-04 00:20:31 +10:00
parent 548b05ba74
commit 26d38f0773
6 changed files with 153 additions and 13 deletions

View file

@ -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;
}
}