resetParticle method

  1. @override
Particle resetParticle(
  1. int i
)
override

Implementation

@override
Particle resetParticle(int i) {
  Particle o = super.resetParticle(i);
  o.y = Rnd.ratio * height;
  return o;
}