예제 #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);
 }