Пример #1
0
 public CurseGenerator(Dice dice, ITreasurePercentileSelector percentileSelector, ICollectionSelector collectionsSelector, JustInTimeFactory justInTimeFactory)
 {
     this.dice = dice;
     this.percentileSelector  = percentileSelector;
     this.collectionsSelector = collectionsSelector;
     this.justInTimeFactory   = justInTimeFactory;
 }
Пример #2
0
 public EquipmentGenerator(ICollectionSelector collectionSelector,
                           IItemsGenerator itemGenerator,
                           IPercentileSelector percentileSelector,
                           IItemSelector itemSelector,
                           JustInTimeFactory justInTimeFactory)
 {
     this.collectionSelector = collectionSelector;
     this.itemGenerator      = itemGenerator;
     this.percentileSelector = percentileSelector;
     this.itemSelector       = itemSelector;
     this.justInTimeFactory  = justInTimeFactory;
 }
Пример #3
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;
 }
Пример #4
0
 public MagicalArmorGenerator(
     ITreasurePercentileSelector percentileSelector,
     ICollectionSelector collectionsSelector,
     ISpecialAbilitiesGenerator specialAbilitiesGenerator,
     ISpecificGearGenerator specificGearGenerator,
     JustInTimeFactory justInTimeFactory)
 {
     this.percentileSelector        = percentileSelector;
     this.collectionsSelector       = collectionsSelector;
     this.specialAbilitiesGenerator = specialAbilitiesGenerator;
     this.specificGearGenerator     = specificGearGenerator;
     this.justInTimeFactory         = justInTimeFactory;
 }
Пример #5
0
 public ItemsGenerator(
     ITypeAndAmountPercentileSelector typeAndAmountPercentileSelector,
     JustInTimeFactory justInTimeFactory,
     ITreasurePercentileSelector percentileSelector,
     IRangeDataSelector rangeDataSelector,
     ICollectionSelector collectionSelector)
 {
     this.typeAndAmountPercentileSelector = typeAndAmountPercentileSelector;
     this.justInTimeFactory  = justInTimeFactory;
     this.percentileSelector = percentileSelector;
     this.rangeDataSelector  = rangeDataSelector;
     this.collectionSelector = collectionSelector;
 }
Пример #6
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;
 }
Пример #7
0
 public CreatureGenerator(IAlignmentGenerator alignmentGenerator,
                          ICreatureVerifier creatureVerifier,
                          ICollectionSelector collectionsSelector,
                          IAbilitiesGenerator abilitiesGenerator,
                          ISkillsGenerator skillsGenerator,
                          IFeatsGenerator featsGenerator,
                          ICreatureDataSelector creatureDataSelector,
                          IHitPointsGenerator hitPointsGenerator,
                          IArmorClassGenerator armorClassGenerator,
                          ISavesGenerator savesGenerator,
                          JustInTimeFactory justInTimeFactory,
                          IAdvancementSelector advancementSelector,
                          IAttacksGenerator attacksGenerator,
                          ISpeedsGenerator speedsGenerator,
                          IEquipmentGenerator equipmentGenerator,
                          IMagicGenerator magicGenerator,
                          ILanguageGenerator languageGenerator)
 {
     this.alignmentGenerator   = alignmentGenerator;
     this.abilitiesGenerator   = abilitiesGenerator;
     this.skillsGenerator      = skillsGenerator;
     this.featsGenerator       = featsGenerator;
     this.creatureVerifier     = creatureVerifier;
     this.collectionsSelector  = collectionsSelector;
     this.creatureDataSelector = creatureDataSelector;
     this.hitPointsGenerator   = hitPointsGenerator;
     this.armorClassGenerator  = armorClassGenerator;
     this.savesGenerator       = savesGenerator;
     this.justInTimeFactory    = justInTimeFactory;
     this.advancementSelector  = advancementSelector;
     this.attacksGenerator     = attacksGenerator;
     this.speedsGenerator      = speedsGenerator;
     this.equipmentGenerator   = equipmentGenerator;
     this.magicGenerator       = magicGenerator;
     this.languageGenerator    = languageGenerator;
 }
Пример #8
0
 public CreatureVerifier(JustInTimeFactory factory, ICreatureDataSelector creatureDataSelector)
 {
     this.factory = factory;
     this.creatureDataSelector = creatureDataSelector;
 }
 public void Setup()
 {
     kernel            = new StandardKernel();
     justInTimeFactory = new NinjectJustInTimeFactory(kernel);
 }