init method

void init()

Implementation

void init(/*widthRatio, heightRatio*/) {
  // this.widthRatio = widthRatio;
  // this.heightRatio = max(heightRatio, 0.65);
  reset();
  y = Random().nextInt(height!.toInt()).toDouble() - height!;
}