private void CreateRandomizer(List <int> chargeWeigthList) { _chargeRandomizer = new WeigthRandomizer <int>(); chargeWeigthList.Count.Loop(i => _chargeRandomizer.AddItem(i + 1, chargeWeigthList[i]) ); }
private void InitChargeRandom() { _chargeRandomizer = new WeigthRandomizer <int>(); var weigthList = _setting.CardChargeWeigth; weigthList.Count.Loop(i => _chargeRandomizer.AddItem(i + 1, weigthList[i])); }
private void InitRandom() { int i = 0; foreach (var weigth in _setting.CostCountWeigthList) { _costRandomizer.AddItem(i + 1, weigth); i++; } }