public IQuest GetQuestInstance(IEquipmentFactory equipmentFactory) { return(new KillGoblin() { EquipmentFactory = equipmentFactory, }); }
public IQuest GetQuestInstance(IEquipmentFactory equipmentFactory) { return(new DeliverGoods() { EquipmentFactory = equipmentFactory, }); }
public IQuest GetQuestInstance(IEquipmentFactory equipmentFactory) { return(new SearchRing() { EquipmentFactory = equipmentFactory, }); }
public EquipmentViewModel(IEquipmentFactory equipmentFactory, IEquipmentApi equipmentApi) { _equipmentFactory = equipmentFactory; _equipmentApi = equipmentApi; Messenger.Default.Register <MessageWindowResponse>(this, "ReloadMonster", msg => { if (msg.Response) { GetEquipmentDetails(); } }); GetEquipment(); }
public ServerManager(ILogService logService, IGameLoopSimulator gameLoopSimulator, IGameFactory gameFactory, IConfigurator configurator, IMonsterDataFactory monsterDataFactory, ISkillFactory skillFactory, IEquipmentFactory equipmentFactory, ITalentFactory talentFactory, IQuestFactory questFactory, ICharacterFactory characterFactory) { this.logService = logService; this.gameFactory = gameFactory; this.configurator = configurator; this.monsterDataFactory = monsterDataFactory; this.skillFactory = skillFactory; this.equipmentFactory = equipmentFactory; this.talentFactory = talentFactory; this.questFactory = questFactory; this.characterFactory = characterFactory; this.gameLoopSimulator = gameLoopSimulator; }
public void InitializeTests() { this.powerGenerator = MockRepository.GenerateStub<IPowerGenerator>(); this.equipmentFactory = MockRepository.GenerateStub<IEquipmentFactory>(); this.combatantFactory = new CombatantFactory(this.powerGenerator, this.equipmentFactory); }