Getting test class set up
I was trying to set up a simple test class to "watch" the AI pick a card from a booster pack. Not really a test, but just a way to get an AI pick from a booster without loading up the whole actual GUI. But I keep getting stuck on trying to load the card database. Here's what I've tried:
- Code: Select all
final CardFactoryInterface cf = AllZone.getCardFactory(); // copied from RunTest.java
final BoosterGenerator pack = new BoosterGenerator(CardPrinted.Predicates.printedInSets("M12"));
List<CardPrinted> cards = pack.getBoosterPack(10, 3, 1, 0, 0, 0, 0, 0, 1);
- Code: Select all
final FProgressBar barProgress = SplashFrame.PROGRESS_BAR;