Ellipse2D movement
I'm trying to create a simple game of Pong. I want to be able to move the ball, a java.awt.geom.Ellipse2D.double object around the screen. However the methods in java.awt.Rectangle that allow you to move it around [.setLocation() and .translate()]don't exist in the Ellipse2D. Ive heard that you can do this using the AffineTransform class, but I have no idea how. Can someone please explain all this to me?
"Jazzman" Will Rosenberg
Chief Admin of [Vendetta] http://vendetta.n3.net
Webmaster of [LoB] http://legacyofblood.n3.net
Bookmarks