Box.java
import objectdraw.*;
import java.awt.*;
/**
* --- WHAT DOES IT DO?
* @author -----
*/
public class Box
{
/**
* ????
* --- 51 students: Add parameters as necessary.
*/
public Box( ) {
}
/**
* Move the box to a random location at the bottom of the playing area.
* --- 51 students: Add parameters if necessary.
*/
public void moveBox( ) {
}
/**
* Set the width of the box.
* --- 51 students: Add parameters if necessary.
*/
public void setSize( ) {
}
/**
* Return the x coordinate of the left edge of the box
* --- 51 students: Add parameters if necessary.
*/
public double getLeft( )
{
return 0.0; // CHANGE THIS!! IT IS WRONG!
}
/**
* Return the x coordinate of the right edge of the box
* --- 51 students: Add parameters if necessary.
*/
public double getRight( ) {
return 0.9; // CHANGE THIS!! IT IS WRONG!
}
}