public CatchOptions(PokemonGo api){
  this.api=api;
  this.useRazzBerry=false;
  this.maxRazzBerries=0;
  this.useBestPokeball=false;
  this.skipMasterBall=false;
  this.pokeBall=POKEBALL;
  this.strictBallType=false;
  this.smartSelect=false;
  this.maxPokeballs=1;
  this.probability=0.50;
  this.normalizedHitPosition=1.0;
  this.normalizedReticleSize=1.95 + Math.random() * 0.05;
  this.spinModifier=0.85 + Math.random() * 0.15;
}

public CatchOptions ( PokemonGo api ) { this . api = api ; this . useRazzBerry = false ; this . maxRazzBerries = 0 ; this . useBestPokeball = false ; this . skipMasterBall = false ; this . pokeBall = POKEBALL ; this . strictBallType = false ; this . smartSelect = false ; this . maxPokeballs = 1 ; this . probability = 0.50 ; this . normalizedHitPosition = 1.0 ; this . normalizedReticleSize = 1.95 + Math . random ( ) * 0.05 ; this . spinModifier = 0.85 + Math . random ( ) * 0.15 ; }
instantiates a new catchoptions object .
