if (particles2.getCurrentValue()) {
for (final Particles p : particles) {
if (p.opacity > 4) p.render2D();
}
if (thudTimer.hasReached(15)) {
for (final Particles p : particles) {
p.updatePosition();
if (p.opacity < 1) particles.remove(p);
}
thudTimer.reset();
}
if (curTarget.hurtTime == 8) {
for (int i = 0; i < 1; i++) {
final Particles p = new Particles();
p.init((dth.getX() + 15), dth.getY() + 15, ((Math.random() - 0.5) * 2) * 1.9, ((Math.random() - 0.5) * 2) * 1.4, (float) Math.random() * 0.5F, ClientHelper.getClientColor());
particles.add(p);
}