updateParticles abstract method

void updateParticles(
  1. List<Particle> particles,
  2. Size bounds
)

Updates all particles' state based on the current simulation frame

particles - List of all active particles bounds - Current container size for boundary checking

Implementation

void updateParticles(List<Particle> particles, Size bounds);