Ejemplo n.º 1
0
        public void Set(AppSettingsCore settings)
        {
            MultimediaPort       = settings._multimediaPort;
            ReadingSpeed         = settings._readingSpeed;
            TimeSettings         = settings.TimeSettings;
            FalseStart           = settings._falseStart;
            PartialText          = settings.PartialText;
            Managed              = settings.Managed;
            HintShowman          = settings._hintShowman;
            Oral                 = settings._oral;
            _ignoreWrong         = settings._ignoreWrong;
            _gameMode            = settings._gameMode;
            _customBackgroundUri = settings._customBackgroundUri;

            _randomRoundsCount        = settings._randomRoundsCount;
            _randomThemesCount        = settings._randomThemesCount;
            _randomQuestionsBasePrice = settings._randomQuestionsBasePrice;
            Culture = settings.Culture;
        }
Ejemplo n.º 2
0
        public AppSettingsCore(AppSettingsCore origin)
        {
            TimeSettings = origin.TimeSettings.Clone();

            _readingSpeed        = origin._readingSpeed;
            _multimediaPort      = origin._multimediaPort;
            _falseStart          = origin._falseStart;
            _hintShowman         = origin._hintShowman;
            _oral                = origin._oral;
            _ignoreWrong         = origin._ignoreWrong;
            _gameMode            = origin._gameMode;
            _customBackgroundUri = origin._customBackgroundUri;

            _randomRoundsCount        = origin._randomRoundsCount;
            _randomThemesCount        = origin._randomThemesCount;
            _randomQuestionsBasePrice = origin._randomQuestionsBasePrice;

            Culture = origin.Culture;
        }