- Probably need these, even though they arent really used quite yet

This commit is contained in:
Sol
2016-03-25 22:40:21 +00:00
parent aca5777c4e
commit 81d1395e82
3 changed files with 8 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ import forge.properties.ForgePreferences.FPref;
import forge.quest.QuestController;
import forge.quest.QuestWorld;
import forge.quest.data.QuestPreferences;
import forge.tournament.TournamentData;
import forge.util.FileUtil;
import forge.util.Localizer;
import forge.util.storage.IStorage;
@@ -76,6 +77,7 @@ public final class FModel {
private static Map<GameType, AchievementCollection> achievements;
// Someone should take care of 2 gauntlets here
private static TournamentData tournamentData;
private static GauntletData gauntletData;
private static GauntletMini gauntlet;
@@ -321,4 +323,8 @@ public final class FModel {
public static IStorage<CardBlock> getFantasyBlocks() {
return fantasyBlocks;
}
public static TournamentData getTournamentData() { return tournamentData; }
public static void setTournamentData(TournamentData tournamentData) { FModel.tournamentData = tournamentData; }
}

View File

@@ -142,6 +142,7 @@ public final class ForgeConstants {
public static final FileLocation WORKSHOP_LAYOUT_FILE = new FileLocation(_DEFAULTS_DIR, USER_PREFS_DIR, "workshop.xml");
public static final FileLocation EDITOR_LAYOUT_FILE = new FileLocation(_DEFAULTS_DIR, USER_PREFS_DIR, "editor.xml");
public static final FileLocation GAUNTLET_DIR = new FileLocation(_DEFAULTS_DIR, USER_DIR, "gauntlet" + PATH_SEPARATOR);
public static final FileLocation TOURNAMENT_DIR = new FileLocation(_DEFAULTS_DIR, USER_DIR, "tournament" + PATH_SEPARATOR);
// data that is only in the cached dir
private static final String PICS_DIR = CACHE_DIR + "pics" + PATH_SEPARATOR;