Ejemplo n.º 1
0
 protected void iterarDisparos(ArrayList list) throws Exception {
   Iterator<Disparo> it = list.iterator();
   while (it.hasNext()) {
     Disparo c = it.next();
     if (c.disparar()) it.remove();
   }
 }