Beyond_Beyaan.Screens.ResearchScreen.RefreshProgressLabels C# (CSharp) Метод

RefreshProgressLabels() приватный Метод

private RefreshProgressLabels ( ) : void
Результат void
        private void RefreshProgressLabels()
        {
            var currentEmpire = _gameMain.EmpireManager.CurrentEmpire;
            float amount = currentEmpire.ResearchPoints;

            _techProgressLabels[0].SetText(currentEmpire.TechnologyManager.GetFieldProgressString(TechField.COMPUTER, amount));
            _techProgressLabels[1].SetText(currentEmpire.TechnologyManager.GetFieldProgressString(TechField.CONSTRUCTION, amount));
            _techProgressLabels[2].SetText(currentEmpire.TechnologyManager.GetFieldProgressString(TechField.FORCE_FIELD, amount));
            _techProgressLabels[3].SetText(currentEmpire.TechnologyManager.GetFieldProgressString(TechField.PLANETOLOGY, amount));
            _techProgressLabels[4].SetText(currentEmpire.TechnologyManager.GetFieldProgressString(TechField.PROPULSION, amount));
            _techProgressLabels[5].SetText(currentEmpire.TechnologyManager.GetFieldProgressString(TechField.WEAPON, amount));
        }