Exemple #1
0
 public void LoadContent(string path)
 {
     Image.LoadContent();
     Image.IsActive = true;
     if (Battled == false)
     {
         XmlManager <ChemicalManager> chemicalManagerLoader = new XmlManager <ChemicalManager>();
         ChemicalManager = chemicalManagerLoader.Load(path);
         ChemicalManager.LoadContent();
     }
     hasParty = true;
 }
Exemple #2
0
        public void LoadContent()
        {
            Image.LoadContent();
            XmlManager <ChemicalManager>  chemicalManagerLoader  = new XmlManager <ChemicalManager>();
            XmlManager <ItemManager>      itemManagerLoader      = new XmlManager <ItemManager>();
            XmlManager <CharacterManager> characterManagerLoader = new XmlManager <CharacterManager>();

            //if Party/Backpack saves exist, load Save files here
            ChemicalManager  = chemicalManagerLoader.Load("Content/Load/Gameplay/Party.xml");
            ItemManager      = itemManagerLoader.Load("Content/Load/Gameplay/Backpack.xml");
            CharacterManager = characterManagerLoader.Load("Content/Load/Gameplay/Character/IntroWorld.xml");
            ChemicalManager.LoadContent();
            ItemManager.LoadContent();
            CharacterManager.LoadContent();
        }