示例#1
0
文件: Input.php 项目: acgrid/adbot
 public function __construct(Manager $manager, array $config)
 {
     parent::__construct($manager, $config);
     $this->setRetryLimit(Manager::readConfig($config, Manager::RES_CONFIG_RETRY, self::DEFAULT_RETRY_LIMIT));
     $this->setRetryDelay(Manager::readConfig($config, Manager::RES_CONFIG_RETRY, self::DEFAULT_RETRY_DELAY));
     $this->retryOffset = intval($this->retryDelay / 10);
     $this->position = Position::instance($manager, $this->app);
     $this->delay = Delay::instance($manager, $this->app);
     $this->adb = ADB::instance($manager, $this->app);
     $this->scr = Screen::instance($manager, $this->app);
 }