}
}
if(eventCount > 30 && hitBalls.size() > 0) {
for(int i = 0; i < hitBalls.size(); i++) {
HitBall hb = hitBalls.get(i);
hb.update();
if(hb.getx() > 600) {
GameData.addScore(1);
hitBalls.remove(i);
i--;
ParticleFactory.createSmallWave(hb.getx(), hb.gety(), hb.getWidth());
}
}
eventCount--;
}