public RingGenerator(IPercentileSelector percentileSelector, ICollectionsSelector attributesSelector, ISpellGenerator spellGenerator, IChargesGenerator chargesGenerator, ITypeAndAmountPercentileSelector typeAndAmountPercentileSelector)
 {
     this.percentileSelector = percentileSelector;
     this.attributesSelector = attributesSelector;
     this.spellGenerator     = spellGenerator;
     this.chargesGenerator   = chargesGenerator;
     this.typeAndAmountPercentileSelector = typeAndAmountPercentileSelector;
 }
示例#2
0
 public WondrousItemGenerator(IPercentileSelector percentileSelector, ICollectionsSelector attributesSelector, IChargesGenerator chargesGenerator, Dice dice, ISpellGenerator spellGenerator, ITypeAndAmountPercentileSelector typeAndAmountPercentileSelector)
 {
     this.percentileSelector = percentileSelector;
     this.attributesSelector = attributesSelector;
     this.chargesGenerator   = chargesGenerator;
     this.dice           = dice;
     this.spellGenerator = spellGenerator;
     this.typeAndAmountPercentileSelector = typeAndAmountPercentileSelector;
 }
 public MagicalWeaponGenerator(ICollectionsSelector collectionsSelector, IPercentileSelector percentileSelector, IAmmunitionGenerator ammunitionGenerator, ISpecialAbilitiesGenerator specialAbilitiesGenerator, ISpecificGearGenerator specificGearGenerator, IBooleanPercentileSelector booleanPercentileSelector, ISpellGenerator spellGenerator, Dice dice)
 {
     this.collectionsSelector       = collectionsSelector;
     this.percentileSelector        = percentileSelector;
     this.ammunitionGenerator       = ammunitionGenerator;
     this.specialAbilitiesGenerator = specialAbilitiesGenerator;
     this.specificGearGenerator     = specificGearGenerator;
     this.booleanPercentileSelector = booleanPercentileSelector;
     this.spellGenerator            = spellGenerator;
     this.dice = dice;
 }
示例#4
0
 public SpecificGearGenerator(ITypeAndAmountPercentileSelector typeAndAmountPercentileSelector, ICollectionsSelector collectionsSelector, IChargesGenerator chargesGenerator, IPercentileSelector percentileSelector, ISpellGenerator spellGenerator, IBooleanPercentileSelector booleanPercentileSelector, Dice dice, ISpecialAbilitiesGenerator specialAbilitiesGenerator)
 {
     this.typeAndAmountPercentileSelector = typeAndAmountPercentileSelector;
     this.collectionsSelector             = collectionsSelector;
     this.chargesGenerator          = chargesGenerator;
     this.percentileSelector        = percentileSelector;
     this.spellGenerator            = spellGenerator;
     this.booleanPercentileSelector = booleanPercentileSelector;
     this.dice = dice;
     this.specialAbilitiesGenerator = specialAbilitiesGenerator;
 }
示例#5
0
 public RingGenerator(
     ICollectionSelector collectionsSelector,
     ISpellGenerator spellGenerator,
     IChargesGenerator chargesGenerator,
     ITypeAndAmountPercentileSelector typeAndAmountPercentileSelector,
     IReplacementSelector replacementSelector)
 {
     this.collectionsSelector             = collectionsSelector;
     this.spellGenerator                  = spellGenerator;
     this.chargesGenerator                = chargesGenerator;
     this.typeAndAmountPercentileSelector = typeAndAmountPercentileSelector;
     this.replacementSelector             = replacementSelector;
 }
 public MagicalWeaponGenerator(
     ICollectionSelector collectionsSelector,
     ITreasurePercentileSelector percentileSelector,
     ISpecialAbilitiesGenerator specialAbilitiesGenerator,
     ISpecificGearGenerator specificGearGenerator,
     ISpellGenerator spellGenerator,
     JustInTimeFactory justInTimeFactory)
 {
     this.collectionsSelector       = collectionsSelector;
     this.percentileSelector        = percentileSelector;
     this.specialAbilitiesGenerator = specialAbilitiesGenerator;
     this.specificGearGenerator     = specificGearGenerator;
     this.spellGenerator            = spellGenerator;
     this.justInTimeFactory         = justInTimeFactory;
 }
示例#7
0
 public SpecificGearGenerator(ITypeAndAmountPercentileSelector typeAndAmountPercentileSelector,
                              ICollectionSelector collectionsSelector,
                              IChargesGenerator chargesGenerator,
                              ITreasurePercentileSelector percentileSelector,
                              ISpellGenerator spellGenerator,
                              ISpecialAbilitiesGenerator specialAbilitiesGenerator,
                              JustInTimeFactory justInTimeFactory,
                              IReplacementSelector replacementSelector)
 {
     this.typeAndAmountPercentileSelector = typeAndAmountPercentileSelector;
     this.collectionsSelector             = collectionsSelector;
     this.chargesGenerator          = chargesGenerator;
     this.percentileSelector        = percentileSelector;
     this.spellGenerator            = spellGenerator;
     this.specialAbilitiesGenerator = specialAbilitiesGenerator;
     this.justInTimeFactory         = justInTimeFactory;
     this.replacementSelector       = replacementSelector;
 }
 public void Setup()
 {
     mockPercentileSelector = new Mock <IPercentileSelector>();
     generator = new SpellGenerator(mockPercentileSelector.Object);
     power     = "power";
 }
示例#9
0
 public ScrollGenerator(Dice dice, ISpellGenerator spellGenerator)
 {
     this.dice           = dice;
     this.spellGenerator = spellGenerator;
 }