/** * 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 SaveAir(GameObject toSave, string name) { SaveWithDAO(airDAO, toSave, name); airDAO.SaveAll(); }