Esempio n. 1
0
        private static void CreateWrite(string savePath)
        {
            Console.WriteLine("Creating...");
            GameSave gameSave = GameSave.Create(savePath);

            Console.WriteLine("...OK");

            Console.WriteLine("Writing...");
            Tests.TestSaving(gameSave, "Test Save");
            Tests.TestSaving(gameSave, "Test Save2");
            Tests.TestSaving(gameSave, "Test Save");
            Tests.TestSaving(gameSave, "Test Save3");
            Console.WriteLine("...OK");

            Console.WriteLine("Closing...");
            gameSave.Close();
            Console.WriteLine("...OK");
        }