Beispiel #1
0
        public static void SET()
        {
            System.Diagnostics.Debug.WriteLine("Welcome Message!");

            // creates files, directories
            if (!Directory.Exists(@"C:\REX_Saves"))
            {
                DirectoryInfo dir = new DirectoryInfo(@"C:\REX_Saves");
                dir.Create();
            }
            if (!Directory.Exists(@"C:\REX_Saves\YongGiPracticeDojang"))
            {
                DirectoryInfo dir = new DirectoryInfo(@"C:\REX_Saves\YongGiPracticeDojang");
                dir.Create();
            }

            records.Create();
            preferences.Create();
            //settings.Create();
            presets.Create();

            //defaults
            records.value     = new List <Record>();
            preferences.value = new Preferences();
            //settings.value = new Settings();
            presets.value = new List <TrainingPreset>();
        }