Example #1
0
        /// <summary>
        /// Процесс изучения технологии.
        /// </summary>
        void ProcessLearning()
        {
            if (!Learning)
            {
                return;
            }

            learningProgress++;

            if (learningProgress >= Tech.learning_tech_time)
            {
                technologies.Add(new int[] { learningTech.Tier, learningTech.Line, learningTech.Subtech });
                learningProgress = 0;
                learningTech     = new TechData();
                Tech.CheckTechInnovaions();
            }
        }