Пример #1
0
 public static void draw(Graphics g) {
   for (Particle p : particles) {
     p.draw(xShift, yShift, g);
   }
 }