Esempio n. 1
0
            protected override void Load(QuickDrive_Race.ViewModel.SaveableData o)
            {
                base.Load(o);
                RaceGridViewModel.OpponentsNumber = 1;
                var r = (SaveableData)o;

                MatchesCount = r.MatchesCount ?? 10;
            }
Esempio n. 2
0
            protected override void Save(QuickDrive_Race.ViewModel.SaveableData result)
            {
                base.Save(result);

                var r = (SaveableData)result;

                r.MatchesCount = MatchesCount;
            }
            protected override void Save(QuickDrive_Race.ViewModel.SaveableData result)
            {
                base.Save(result);

                var r = (SaveableData)result;

                r.PracticeLength      = PracticeDuration;
                r.QualificationLength = QualificationDuration;
            }
            protected override void Load(QuickDrive_Race.ViewModel.SaveableData o)
            {
                base.Load(o);

                var r = (SaveableData)o;

                PracticeDuration      = r.PracticeLength ?? 15;
                QualificationDuration = r.QualificationLength ?? 30;
            }