示例#1
0
 public void Setup()
 {
     mockDice = new Mock <Dice>();
     mockRangeDataSelector  = new Mock <IRangeDataSelector>();
     mockPercentileSelector = new Mock <ITreasurePercentileSelector>();
     generator = new ChargesGenerator(mockDice.Object, mockRangeDataSelector.Object, mockPercentileSelector.Object);
 }
 public StaffGenerator(IPercentileSelector percentileSelector, IChargesGenerator chargesGenerator, ICollectionsSelector attributesSelector, ISpecialAbilitiesGenerator specialAbilitiesGenerator)
 {
     this.percentileSelector        = percentileSelector;
     this.chargesGenerator          = chargesGenerator;
     this.attributesSelector        = attributesSelector;
     this.specialAbilitiesGenerator = specialAbilitiesGenerator;
 }
 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;
 }
示例#4
0
        public void Setup()
        {
            mockDice = new Mock <Dice>();
            mockRangeAttributesSelector   = new Mock <IRangeAttributesSelector>();
            mockBooleanPercentileSelector = new Mock <IBooleanPercentileSelector>();

            generator = new ChargesGenerator(mockDice.Object, mockRangeAttributesSelector.Object, mockBooleanPercentileSelector.Object);
        }
示例#5
0
 public RodGenerator(ITypeAndAmountPercentileSelector typeAndAmountPercentileSelector, ICollectionsSelector attributesSelector,
                     IChargesGenerator chargesGenerator, IBooleanPercentileSelector booleanPercentileSelector, ISpecialAbilitiesGenerator specialAbilitiesGenerator)
 {
     this.typeAndAmountPercentileSelector = typeAndAmountPercentileSelector;
     this.attributesSelector        = attributesSelector;
     this.chargesGenerator          = chargesGenerator;
     this.booleanPercentileSelector = booleanPercentileSelector;
     this.specialAbilitiesGenerator = specialAbilitiesGenerator;
 }
示例#6
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;
 }
示例#7
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;
 }
示例#8
0
 public StaffGenerator(ITypeAndAmountPercentileSelector typeAndAmountPercentileSelector,
                       IChargesGenerator chargesGenerator,
                       ICollectionSelector collectionsSelector,
                       ISpecialAbilitiesGenerator specialAbilitiesGenerator,
                       JustInTimeFactory justInTimeFactory)
 {
     this.typeAndAmountPercentileSelector = typeAndAmountPercentileSelector;
     this.chargesGenerator          = chargesGenerator;
     this.collectionsSelector       = collectionsSelector;
     this.specialAbilitiesGenerator = specialAbilitiesGenerator;
     this.justInTimeFactory         = justInTimeFactory;
 }
示例#9
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;
 }
示例#10
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;
 }
示例#11
0
 public WandGenerator(IPercentileSelector percentileSelector, IChargesGenerator chargesGenerator)
 {
     this.percentileSelector = percentileSelector;
     this.chargesGenerator   = chargesGenerator;
 }