/** * 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(); }
public void SaveMarine(GameObject toSave, string name) { SaveWithDAO(marineDAO, toSave, name); marineDAO.SaveAll(); }