drawParticles method

  1. @override
void drawParticles(
  1. List<Particle> particles,
  2. double radius
)
override

Draw a particle array.

Implementation

@override
void drawParticles(List<Particle> particles, double radius) {
  particles.forEach((p) {
    drawSolidCircle(p.position, radius, p.color);
  });
}