import java.awt.Color;
import java.awt.Graphics;
import java.util.ArrayList;

public class DrawGraphics {
    Bouncer movingSpriteOne;
    Bouncer movingSpriteTwo;
    NotBouncer movingSpriteThree;
    NotBouncer movingSpriteFour;
    
    ArrayList<Rectangle> rekts = new ArrayList <>();
    ArrayList<Rectangle> StraightMovers = new ArrayList <>();    
    
    /** Initializes this class for drawing. */
    public DrawGraphics() {
        
        rekts.add(new Rectangle(15, 20, Color.RED));
        movingSpriteOne = new Bouncer(100, 170, rekts.get(0));
        movingSpriteOne.setMovementVector(3, 1);
        
        rekts.add(new Rectangle(30, 40, Color.RED));
        movingSpriteTwo = new Bouncer(10, 17, rekts.get(1));
        movingSpriteTwo.setMovementVector(6, 2);        
        
        StraightMovers.add(new Rectangle(15, 20, Color.BLUE));    
        movingSpriteThree = new NotBouncer(50, 100, StraightMovers.get(0));
        movingSpriteThree.setMovementVector(2, 2);
        
        StraightMovers.add(new Rectangle(15, 20, Color.GREEN));    
        movingSpriteFour = new NotBouncer(150, 150, StraightMovers.get(0));
        movingSpriteFour.setMovementVector(-2, -2);        

    }

    /** Draw the contents of the window on surface.
     * @param surface */
    public void draw(Graphics surface) {
        movingSpriteOne.draw(surface);
        movingSpriteTwo.draw(surface);
        movingSpriteThree.draw(surface);
        movingSpriteFour.draw(surface);        
    }
}

@@ -157,32 +157,35 @@
 iteTwo;%0A    
-NotBounc
+StraightMov
 er movingSpr
@@ -198,24 +198,27 @@
 ee;%0A    
-NotBounc
+StraightMov
 er movin
@@ -260,21 +260,22 @@
 tangle%3E 
-rekts
+Moving
  = new A
@@ -314,30 +314,25 @@
 tangle%3E 
-Straigh
+No
 tMov
-ers
+ing
  = new A
@@ -439,37 +439,38 @@
        %0A        
-rekts
+Moving
 .add(new Rectang
@@ -541,21 +541,22 @@
 0, 170, 
-rekts
+Moving
 .get(0))
@@ -623,21 +623,22 @@
         
-rekts
+Moving
 .add(new
@@ -654,35 +654,38 @@
 e(30, 40, Color.
-RED
+YELLOW
 ));%0A        movi
@@ -722,13 +722,14 @@
 17, 
-rekts
+Moving
 .get
@@ -804,38 +804,33 @@
    %0A        
-Straigh
+No
 tMov
-ers
+ing
 .add(new Rec
@@ -894,24 +894,27 @@
 e = new 
-NotBounc
+StraightMov
 er(50, 1
@@ -917,30 +917,25 @@
 0, 100, 
-Straigh
+No
 tMov
-ers
+ing
 .get(0))
@@ -1004,30 +1004,25 @@
         
-Straigh
+No
 tMov
-ers
+ing
 .add(new
@@ -1094,16 +1094,19 @@
 new 
-NotBounc
+StraightMov
 er(1
@@ -1118,28 +1118,23 @@
 50, 
-Straigh
+No
 tMov
-ers
+ing
 .get(
-0
+1
 ));%0A

Fix DrawGraphics.java