/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { ResourceManager.LoadResources(Content); CardDataManager.ReadCardData(); if (File.Exists("InputConfig.dat")) { using InputConfigLoader inputConfigWriter = new InputConfigLoader($"{BaseFolder}InputConfig.dat"); inputConfigWriter.LoadInputConfig(); } else { SetDefaultKeys(); using InputConfigWriter inputConfigWriter = new InputConfigWriter($"{BaseFolder}InputConfig.dat"); inputConfigWriter.WriteInputConfig(); } DialogueManager.Reload(); SpriteDrawer.Load(Content); foreach (var effect in GlobalState.AllEffects) { effect.Load(Content, graphics.GraphicsDevice); } }