Beyond_Beyaan.TechnologyManager.SetComputerTechs C# (CSharp) Метод

SetComputerTechs() публичный Метод

public SetComputerTechs ( List techs ) : void
techs List
Результат void
        public void SetComputerTechs(List<Technology> techs)
        {
            UnresearchedComputerTechs = new List<Technology>(techs);
            ResearchedComputerTechs = new List<Technology>();
            foreach (var tech in techs)
            {
                if (tech.TechLevel == 1)
                {
                    ResearchedComputerTechs.Add(tech);
                    UnresearchedComputerTechs.Remove(tech);
                }
            }
        }