(CardEdition edition)
| 28 | public class BoosterBox extends BoxedProduct { |
| 29 | |
| 30 | public static BoosterBox fromSet(CardEdition edition) { |
| 31 | if (edition.getBoosterBoxCount() <= 0) { |
| 32 | return null; |
| 33 | } |
| 34 | BoosterBox.Template d = new Template(edition); |
| 35 | return new BoosterBox(edition.getName(), d, d.cntBoosters); |
| 36 | } |
| 37 | |
| 38 | private final BoosterBox.Template fpData; |
| 39 |
no test coverage detected