Beyond_Beyaan.Screens.ShipDesignScreen.RefreshEngineLabels C# (CSharp) Метод

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

private RefreshEngineLabels ( ) : void
Результат void
        private void RefreshEngineLabels()
        {
            _engineButton.SetText(_shipDesign.Engine.Key.DisplayName);
            _maneuverButton.SetText(string.Format("{0} Maneuverability", _shipDesign.ManeuverSpeed.ToString()));
            _engineSpeed.SetText(string.Format("Galaxy Speed: {0}", _shipDesign.GalaxySpeed));
            _combatSpeed.SetText(string.Format("Combat Speed: {0}", (_shipDesign.ManeuverSpeed / 2) + 1));
            _costPerPower = _shipDesign.Engine.Key.GetCost(_techLevels, _shipDesign.Size) / (_shipDesign.GalaxySpeed * 10);
            _spacePerPower = _shipDesign.Engine.Key.GetSize(_techLevels, _shipDesign.Size) / (_shipDesign.GalaxySpeed * 10);
            _costPerPowerLabel.SetText(string.Format("Cost per Power: {0:0.0} BCs", _costPerPower));
            _spacePerPowerLabel.SetText(string.Format("Space per Power: {0:0.0} DWT", _spacePerPower));
            _defenseRating.SetText(string.Format("{0} Defense Rating", _shipDesign.BeamDefense));
        }