332333334335336337338339340
break; case 1: s.detector = new AllParticles(s.particles); break; case 2: s.detector = new SweepAndPrune(s.particles); break; } }