示例#1
0
 public CatchPokemonHandler(ISettingsHandler settings,
                            ITransferPokemonHandler transferPokemonHandler,
                            IPokemonHelper pokemonHelper,
                            IPokemonItems pokemonItems,
                            IWalkingHandler walkingHandler,
                            ILogger logger)
 {
     _settings = settings;
     _transferPokemonHandler = transferPokemonHandler;
     _pokemonHelper          = pokemonHelper;
     _pokemonItems           = pokemonItems;
     _walkingHandler         = walkingHandler;
     _logger = logger;
 }
示例#2
0
        public GoBot(ISettingsHandler settings,
                     IPokemonItems pokemonItems,
                     IPokestopsHandler pokestopsHandler,
                     ITransferPokemonHandler transferPokemonHandler,
                     IRecycleItemsHandler recycleItemsHandler,
                     IEvolvePokemonHandler evolvePokemonHandler,
                     IApiFailureStrategy apiStrategyHandler,
                     ILogger logger)
        {
            _settings               = settings;
            _pokemonItems           = pokemonItems;
            _pokestopsHandler       = pokestopsHandler;
            _transferPokemonHandler = transferPokemonHandler;
            _recycleItemsHandler    = recycleItemsHandler;
            _evolvePokemonHandler   = evolvePokemonHandler;
            _apiStrategyHandler     = apiStrategyHandler;
            _logger = logger;

            InitializeClient();
        }