@@ -0,0 +1,1506 @@
+import java.awt.Color;%0Aimport java.awt.Graphics;%0Aimport java.util.ArrayList;%0A%0Apublic class DrawGraphics %7B%0A    Bouncer movingSpriteOne;%0A    Bouncer movingSpriteTwo;%0A    NotBouncer movingSpriteThree;%0A    NotBouncer movingSpriteFour;%0A    %0A    ArrayList%3CRectangle%3E rekts = new ArrayList %3C%3E();%0A    ArrayList%3CRectangle%3E StraightMovers = new ArrayList %3C%3E();    %0A    %0A    /** Initializes this class for drawing. */%0A    public DrawGraphics() %7B%0A        %0A        rekts.add(new Rectangle(15, 20, Color.RED));%0A        movingSpriteOne = new Bouncer(100, 170, rekts.get(0));%0A        movingSpriteOne.setMovementVector(3, 1);%0A        %0A        rekts.add(new Rectangle(30, 40, Color.RED));%0A        movingSpriteTwo = new Bouncer(10, 17, rekts.get(1));%0A        movingSpriteTwo.setMovementVector(6, 2);        %0A        %0A        StraightMovers.add(new Rectangle(15, 20, Color.BLUE));    %0A        movingSpriteThree = new NotBouncer(50, 100, StraightMovers.get(0));%0A        movingSpriteThree.setMovementVector(2, 2);%0A        %0A        StraightMovers.add(new Rectangle(15, 20, Color.GREEN));    %0A        movingSpriteFour = new NotBouncer(150, 150, StraightMovers.get(0));%0A        movingSpriteFour.setMovementVector(-2, -2);        %0A%0A    %7D%0A%0A    /** Draw the contents of the window on surface.%0A     * @param surface */%0A    public void draw(Graphics surface) %7B%0A        movingSpriteOne.draw(surface);%0A        movingSpriteTwo.draw(surface);%0A        movingSpriteThree.draw(surface);%0A        movingSpriteFour.draw(surface);        %0A    %7D%0A%7D%0A

Create DrawGraphics.java