ypos = y - (hhalf * scale);
}
if (angle != 0) {
g.rotate(x, y, angle);
}
anim.draw(xpos, ypos, w * scale, h * scale, color);
if (angle != 0)
g.resetTransform();
} else if (currentImage != null) {
currentImage.setAlpha(color.a);
int w = currentImage.getWidth() / 2;