Example #1
0
 public Logic(ISettings clientSettings)
 {
     _clientSettings = clientSettings;
     _client = new Client(_clientSettings);
     _inventory = new Inventory(_client);
     _botStats = new BotStats();
     _navigation = new Navigation(_client);
     _pokevision = new PokeVisionUtil();
 }
Example #2
0
 public Logic(ISettings clientSettings, LogicInfoObservable infoObservable)
 {
     _clientSettings = clientSettings;
     _client = new Client(_clientSettings);
     _client.setFailure(new ApiFailureStrat(_client));
     _botStats = new BotStats();
     _navigation = new Navigation(_client);
     _pokevision = new PokeVisionUtil();
     _infoObservable = infoObservable;
 }