mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Create FModel for loading preferences and other information
This commit is contained in:
@@ -149,17 +149,14 @@ public class FModel {
|
||||
|
||||
this.decks = new CardCollections();
|
||||
this.quest = new QuestController();
|
||||
|
||||
|
||||
|
||||
|
||||
// Preload AI profiles
|
||||
AiProfileUtil.loadAllProfiles();
|
||||
AiProfileUtil.loadAllProfiles(NewConstants.AI_PROFILE_DIR);
|
||||
}
|
||||
|
||||
public final QuestController getQuest() {
|
||||
return quest;
|
||||
}
|
||||
|
||||
|
||||
private static boolean KeywordsLoaded = false;
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@ public final class NewConstants {
|
||||
public static final String BAZAAR_FILE = _QUEST_DIR + "bazaar/index.xml";
|
||||
public static final String CARD_DATA_DIR = _RES_ROOT + "cardsfolder/";
|
||||
public static final String DECK_CUBE_DIR = _RES_ROOT + "cube";
|
||||
public static final String AI_PROFILE_DIR = _RES_ROOT + "ai";
|
||||
public static final String QUEST_WORLD_DIR = _QUEST_DIR + "worlds/";
|
||||
public static final String QUEST_PRECON_DIR = _QUEST_DIR + "precons/";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user