Problem with sprite rotation in graphics
Okay, so I'm basically having a crash course in the usage of sprites, and it seems to me the easiest way to rotate them is via AffineTransform.
Now, from what I understand, this is used to rotate an entire graphics context, but I don't want to rotate the entire thing, just a ball. Now to do this, I either need another method, or a way to draw a graphics context on another one, that is, have a ball be the entirety of a graphics context, and draw that on top of the graphics context I already have. Any help on performing this last action would be cool, or if anyone had a better suggestion, I would enjoy that as well.