public static final void drawEffect(Graphics g, int current,
setClip(((x + halfWidth) - currentWidth / 2) + moveX, y + i * 1, currentWidth, 1); g.drawImage(img, x + moveX, y, 20); } else { g.setClip(x + i * 1, ((y + halfWidth) - currentWidth / 2) + moveX, 1, currentWidth); g.drawImage(img, x, y + movex, 20); } currentAngle += angle; }}