From 9ad642810ca589e5b8367df5dd2ea979993aed57 Mon Sep 17 00:00:00 2001 From: Yong Bakos Date: Thu, 21 Feb 2013 18:48:40 -0700 Subject: [PATCH] Cleaning up whitespace. --- .../MultipleParticleSystems.pde | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/java/examples/Topics/Simulate/MultipleParticleSystems/MultipleParticleSystems.pde b/java/examples/Topics/Simulate/MultipleParticleSystems/MultipleParticleSystems.pde index 9ab20cdef..5acfc96e6 100644 --- a/java/examples/Topics/Simulate/MultipleParticleSystems/MultipleParticleSystems.pde +++ b/java/examples/Topics/Simulate/MultipleParticleSystems/MultipleParticleSystems.pde @@ -1,13 +1,13 @@ /** * Multiple Particle Systems - * by Daniel Shiffman. - * + * by Daniel Shiffman. + * * Click the mouse to generate a burst of particles - * at mouse location. - * + * at mouse location. + * * Each burst is one instance of a particle system * with Particles and CrazyParticles (a subclass of Particle) - * Note use of Inheritance and Polymorphism here. + * Note use of Inheritance and Polymorphism here. */ ArrayList systems; @@ -24,7 +24,6 @@ void draw() { ps.run(); ps.addParticle(); } - if (systems.isEmpty()) { fill(255); textAlign(CENTER); @@ -35,13 +34,3 @@ void draw() { void mousePressed() { systems.add(new ParticleSystem(1, new PVector(mouseX, mouseY))); } - - - - - - - - - -