reset method

void reset()

Implementation

void reset() {
  x = Random().nextDouble() * 0.5 * widthRatio - 1 / 3 * imgWidth;
  y = Random().nextDouble() * -0.05 * height;
  alpha = 0;
}