public void Setup() { mockCoinGenerator = new Mock <ICoinGenerator>(); mockGoodsGenerator = new Mock <IGoodsGenerator>(); mockItemsGenerator = new Mock <IItemsGenerator>(); generator = new TreasureGenerator(mockCoinGenerator.Object, mockGoodsGenerator.Object, mockItemsGenerator.Object); }
public EquipmentGenerator(ICollectionsSelector collectionsSelector, IWeaponGenerator weaponGenerator, ITreasureGenerator treasureGenerator, IArmorGenerator armorGenerator, Generator generator) { this.collectionsSelector = collectionsSelector; this.armorGenerator = armorGenerator; this.weaponGenerator = weaponGenerator; this.treasureGenerator = treasureGenerator; this.generator = generator; }
public DomainPoolGenerator(IPercentileSelector percentileSelector, IEncounterGenerator encounterGenerator, ITreasureGenerator treasureGenerator) { this.percentileSelector = percentileSelector; this.encounterGenerator = encounterGenerator; this.treasureGenerator = treasureGenerator; }
public DomainContentsGenerator(IAreaPercentileSelector areaPercentileSelector, IPercentileSelector percentileSelector, ITreasureGenerator treasureGenerator) { this.areaPercentileSelector = areaPercentileSelector; this.percentileSelector = percentileSelector; this.treasureGenerator = treasureGenerator; }
public void Setup() { mockInnerGenerator = new Mock <ITreasureGenerator>(); mockEventQueue = new Mock <GenEventQueue>(); decorator = new TreasureGeneratorEventGenDecorator(mockInnerGenerator.Object, mockEventQueue.Object); }
public TreasureGeneratorEventGenDecorator(ITreasureGenerator innerGenerator, GenEventQueue eventQueue) { this.eventQueue = eventQueue; this.innerGenerator = innerGenerator; }
public void Setup() { itemVerifier = new ItemVerifier(); treasureGenerator = GetNewInstanceOf <ITreasureGenerator>(); }