mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
Merge pull request #5466 from hitch17/mtgo-compatible-draftlogs-5450
Make draft logs compatible with MTGO format #5450
This commit is contained in:
commit
7b2598eba8
7 changed files with 134 additions and 70 deletions
|
|
@ -46,6 +46,7 @@ public abstract class DraftCube {
|
|||
private static final Logger logger = Logger.getLogger(DraftCube.class);
|
||||
|
||||
private final String name;
|
||||
private final String code;
|
||||
private static final int boosterSize = 15;
|
||||
|
||||
protected List<CardIdentity> cubeCards = new ArrayList<>();
|
||||
|
|
@ -53,12 +54,17 @@ public abstract class DraftCube {
|
|||
|
||||
public DraftCube(String name) {
|
||||
this.name = name;
|
||||
this.code = getClass().getSimpleName();
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public List<CardIdentity> getCubeCards() {
|
||||
return cubeCards;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue