Merge pull request #5466 from hitch17/mtgo-compatible-draftlogs-5450

Make draft logs compatible with MTGO format #5450
This commit is contained in:
Oleg Agafonov 2018-12-21 05:24:06 +04:00 committed by GitHub
commit 7b2598eba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 134 additions and 70 deletions

View file

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