326327328329330331332333334335336
public void collisionChange(int i) { switch(i) { case 0: s.detector = new Detector(); s.collisionalgorithm = new CollisionAlgorithm(); break; case 1: s.detector = new AllParticles(s.particles); break; case 2: