Beispiel #1
0
        /// <summary>
        /// Initializes the members of the main CCMM window.
        /// </summary>
        public void InitMembers()
        {
            settings = new Settings <SettingsObject>("settings.xml");
            Grabber.SetSettings(settings);
            InitCortexCommandDirectory();

            modListSource = this.FindResource("modsListSource") as CollectionViewSource;
            //gameSettings = this.FindResource("skirmishBasicSettings") as GameSettings;

            enhancedSkirmish        = new EnhancedSkirmish();
            skirmishSettingsManager = new SkirmishSettingsManager();
            gameSettingsManager     = new GameSettingsManager();
            skirmishWavesScanner    = new SkirmishWavesScanner();
            //modScanner = new ModScanner();
        }
        /// <summary>
        /// Initializes the members of the main CCMM window.
        /// </summary>
        public void InitMembers()
        {
            settings = new Settings<SettingsObject>("settings.xml");
            Grabber.SetSettings(settings);
            InitCortexCommandDirectory();

            modListSource = this.FindResource("modsListSource") as CollectionViewSource;
            //gameSettings = this.FindResource("skirmishBasicSettings") as GameSettings;

            enhancedSkirmish = new EnhancedSkirmish();
            skirmishSettingsManager = new SkirmishSettingsManager();
            gameSettingsManager = new GameSettingsManager();
            skirmishWavesScanner = new SkirmishWavesScanner();
            //modScanner = new ModScanner();
        }