Esempio n. 1
0
    void SaveMap(string currentScenarioName)
    {
        WipeOutDirectory(currentScenarioName);
        DAOFactory factory = DAOFactory.GetFactory();
        MapDAO     map     = factory.GetMapScenarioDAO(currentScenarioName);

        //Each of these can be threaded at some point.
        //Save the world.
        map.Save();
    }