Adding TTT league packs.
This commit is contained in:
@@ -33,7 +33,8 @@ public class FixedPackBox implements PackBox {
|
||||
List<CardCollection.Item> result = new LinkedList<CardCollection.Item>();
|
||||
for (Map.Entry<String, Integer> contentsEntry : _contents.entrySet()) {
|
||||
String blueprintId = contentsEntry.getKey();
|
||||
result.add(new CardCollection.Item(CardCollection.Item.Type.CARD, contentsEntry.getValue(), blueprintId));
|
||||
CardCollection.Item.Type type = blueprintId.contains("_") ? CardCollection.Item.Type.CARD : CardCollection.Item.Type.PACK;
|
||||
result.add(new CardCollection.Item(type, contentsEntry.getValue(), blueprintId));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
1xTTT - Aragorn Starter
|
||||
1xTTT - Theoden Starter
|
||||
@@ -0,0 +1,2 @@
|
||||
1x(S)TTT - Starter
|
||||
6xTTT - Booster
|
||||
@@ -36,8 +36,10 @@ public class PacksStorageProvider implements Injectable<PacksStorage>, Injectabl
|
||||
try {
|
||||
PacksStorage packStorage = new PacksStorage();
|
||||
packStorage.addPackBox("FotR - League Starter", new LeagueStarterBox());
|
||||
packStorage.addPackBox("TTT - League", new FixedPackBox("TTT - League"));
|
||||
|
||||
packStorage.addPackBox("(S)FotR - Tengwar", new FixedPackBox("(S)FotR - Tengwar"));
|
||||
packStorage.addPackBox("(S)TTT - Starter", new FixedPackBox("(S)TTT - Starter"));
|
||||
|
||||
packStorage.addPackBox("FotR - Gandalf Starter", new FixedPackBox("FotR - Gandalf Starter"));
|
||||
packStorage.addPackBox("FotR - Aragorn Starter", new FixedPackBox("FotR - Aragorn Starter"));
|
||||
|
||||
Reference in New Issue
Block a user