Editions, Boosters, Blocks - all moved to their own collections in FModel, using base classes from util

This commit is contained in:
Maxmtg
2012-02-24 23:12:59 +00:00
parent 963c1dbfc5
commit b9d4a559f2
36 changed files with 568 additions and 548 deletions

View File

@@ -46,7 +46,7 @@ public class BoosterDraftTest implements IBoosterDraft {
@Override
public ItemPoolView<CardPrinted> nextChoice() {
this.n--;
final BoosterGenerator pack = new BoosterGenerator(Singletons.getModel().getEditions().getEditionByCode("M11"));
final BoosterGenerator pack = new BoosterGenerator(Singletons.getModel().getBoosters().get("M11"));
return ItemPool.createFrom(pack.getBoosterPack(), CardPrinted.class);
}