Esempio n. 1
0
 public IQuest GetQuestInstance(IEquipmentFactory equipmentFactory)
 {
     return(new KillGoblin()
     {
         EquipmentFactory = equipmentFactory,
     });
 }
Esempio n. 2
0
 public IQuest GetQuestInstance(IEquipmentFactory equipmentFactory)
 {
     return(new DeliverGoods()
     {
         EquipmentFactory = equipmentFactory,
     });
 }
Esempio n. 3
0
 public IQuest GetQuestInstance(IEquipmentFactory equipmentFactory)
 {
     return(new SearchRing()
     {
         EquipmentFactory = equipmentFactory,
     });
 }
Esempio n. 4
0
        public EquipmentViewModel(IEquipmentFactory equipmentFactory, IEquipmentApi equipmentApi)
        {
            _equipmentFactory = equipmentFactory;
            _equipmentApi     = equipmentApi;

            Messenger.Default.Register <MessageWindowResponse>(this, "ReloadMonster", msg =>
            {
                if (msg.Response)
                {
                    GetEquipmentDetails();
                }
            });

            GetEquipment();
        }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
 public void InitializeTests()
 {
     this.powerGenerator = MockRepository.GenerateStub<IPowerGenerator>();
     this.equipmentFactory = MockRepository.GenerateStub<IEquipmentFactory>();
     this.combatantFactory = new CombatantFactory(this.powerGenerator, this.equipmentFactory);
 }