// rotate players shipif(rotateRight) facing += 0.05;if(rotateLeft) facing -= 0.05;// other sin and cos calcs for positioningAffineTransform at = new AffineTransform();// translation here// now rotateat.rotate(facing,shipWidth>>1,shipHeight>>1); g.setTransform(at);// now paint the player
Your system would not accept one of 5 different display modes, exting...