public void SaveSubSurface(GameObject toSave, string name) { SaveWithDAO(subsurfaceDAO, toSave, name); //Thread t = new Thread(new ThreadStart(subsurfaceDAO.SaveAll)); subsurfaceDAO.SaveAll(); //t.Start(); }
/** * After everything has been added to the dictionaries for the scenario, * we make a consolidated call the write all these changes to file * */ public void SaveToFile() { //Thread t = new Thread(new ThreadStart(surfaceScenarioDAO.SaveAll)); //t.Start(); surfaceScenarioDAO.SaveAll(); subsurfaceScenarioDAO.SaveAll(); airScenarioDAO.SaveAll(); marineScenarioDAO.SaveAll(); }