Beyond_Beyaan.Screens.EquipmentSelection.LoadEquipments C# (CSharp) Метод

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

public LoadEquipments ( Ship shipDesign, EquipmentType equipmentType, int currentManeuver, int>.Dictionary techLevels, float spacePerPower, float costPerPower ) : void
shipDesign Ship
equipmentType EquipmentType
currentManeuver int
techLevels int>.Dictionary
spacePerPower float
costPerPower float
Результат void
        public void LoadEquipments(Ship shipDesign, EquipmentType equipmentType, int currentManeuver, Dictionary<TechField, int> techLevels, float spacePerPower, float costPerPower)
        {
            _shipDesign = shipDesign;
            _techLevels = techLevels;
            _equipmentType = equipmentType;
            _availableEquipments = new List<Equipment>();
            _spacePerPower = spacePerPower;
            _costPerPower = costPerPower;
            _maxVisible = _shipDesign.Engine.Key.Technology.ManeuverSpeed; //Never more than 9, which is less than max of 10
            _scrollBarVisible = false;
            _scrollBar.TopIndex = 0;
            _numOfColumnsVisible = 4;
            SetControlsAndWindow();
            RefreshLabels();
        }

Same methods

EquipmentSelection::LoadEquipments ( Ship shipDesign, EquipmentType equipmentType, int slotNum, List technologies, int>.Dictionary techLevels, float spacePerPower, float costPerPower ) : void