mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Adding Current Brawl Metagame
Adding Current Brawl Metagame
This commit is contained in:
1
forge-gui/res/lists/net-decks-brawl.txt
Normal file
1
forge-gui/res/lists/net-decks-brawl.txt
Normal file
@@ -0,0 +1 @@
|
||||
Current Brawl Metagame | https://downloads.cardforge.org/decks/currentbrawlmetagame.zip
|
||||
@@ -21,7 +21,7 @@ import forge.util.storage.StorageBase;
|
||||
|
||||
public class NetDeckCategory extends StorageBase<Deck> {
|
||||
public static final String PREFIX = "NET_DECK_";
|
||||
private static Map<String, NetDeckCategory> constructed, commander;
|
||||
private static Map<String, NetDeckCategory> constructed, commander, brawl;
|
||||
|
||||
private static Map<String, NetDeckCategory> loadCategories(String filename) {
|
||||
Map<String, NetDeckCategory> categories = new TreeMap<>();
|
||||
@@ -58,6 +58,12 @@ public class NetDeckCategory extends StorageBase<Deck> {
|
||||
}
|
||||
categories = commander;
|
||||
break;
|
||||
case Brawl:
|
||||
if (brawl == null) {
|
||||
brawl = loadCategories(ForgeConstants.NET_DECKS_BRAWL_LIST_FILE);
|
||||
}
|
||||
categories = brawl;
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -47,6 +47,8 @@ public final class ForgeConstants {
|
||||
public static final String IMAGE_LIST_ACHIEVEMENTS_FILE = LISTS_DIR + "achievement-images.txt";
|
||||
public static final String NET_DECKS_LIST_FILE = LISTS_DIR + "net-decks.txt";
|
||||
public static final String NET_DECKS_COMMANDER_LIST_FILE = LISTS_DIR + "net-decks-commander.txt";
|
||||
public static final String NET_DECKS_BRAWL_LIST_FILE = LISTS_DIR + "net-decks-brawl.txt";
|
||||
|
||||
|
||||
public static final String CHANGES_FILE = ASSETS_DIR + "README.txt";
|
||||
public static final String CHANGES_FILE_NO_RELEASE = ASSETS_DIR + "CHANGES.txt";
|
||||
|
||||
Reference in New Issue
Block a user