mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
* UI: added save/load packs list in random/richman mode (#5672);
This commit is contained in:
parent
d249b14c3c
commit
7a556ea58f
2 changed files with 76 additions and 72 deletions
|
|
@ -1,15 +1,13 @@
|
|||
|
||||
|
||||
package mage.game.tournament;
|
||||
|
||||
import mage.cards.decks.Deck;
|
||||
import mage.game.draft.DraftCube;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import mage.cards.decks.Deck;
|
||||
import mage.game.draft.DraftCube;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class LimitedOptions implements Serializable {
|
||||
|
|
@ -20,6 +18,7 @@ public class LimitedOptions implements Serializable {
|
|||
protected DraftCube draftCube;
|
||||
protected int numberBoosters;
|
||||
protected boolean isRandom;
|
||||
protected boolean isRichMan;
|
||||
protected Deck cubeFromDeck = null;
|
||||
|
||||
public List<String> getSetCodes() {
|
||||
|
|
@ -66,11 +65,19 @@ public class LimitedOptions implements Serializable {
|
|||
this.numberBoosters = numberBoosters;
|
||||
}
|
||||
|
||||
public boolean getIsRandom(){
|
||||
public boolean getIsRandom() {
|
||||
return isRandom;
|
||||
}
|
||||
public void setIsRandom(boolean isRandom){
|
||||
|
||||
public void setIsRandom(boolean isRandom) {
|
||||
this.isRandom = isRandom;
|
||||
}
|
||||
|
||||
public boolean getIsRichMan() {
|
||||
return isRichMan;
|
||||
}
|
||||
|
||||
public void setIsRichMan(boolean isRichMan) {
|
||||
this.isRichMan = isRichMan;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue