add method

void add(
  1. Particle particle
)

Implementation

void add(Particle particle) {
  particles.add(particle);
}