/**
 * A Calaveras Crossing floating obstacle.
 *
 * @author Jim Glenn
 * @version 0.1 10/7/2008
 */

public class Floater extends Obstacle
{
    /**
     * Creates a new floating obstacle of the given width.
     *
     * @param w a positive <CODE>double</CODE>
     */

    public Floater(double w)
    {
	super(w);
    }

    /**
     * Determines if this floating obstacle is above water.
     *
     * @return true if and only if this floating obstacle is above water
     */

    public boolean isAboveWater()
    {
	return true;
    }
}

