/*                                      
 * Instrument.java 
 *
 * Version: 
 *     $Id: Instrument.java,v 1.1 2002/03/17 12:48:15 jmg Exp $ 
 * 
 * Revisions: 
 *     $Log: Instrument.java,v 
 *     Revision 1.1  2002/03/17 12:48:15  jm
 *     Initial revisio
 * 
 */

/**
 * Instrument class.  Represents a musical instrument.  The class also
 * includes the rental cost of the instrument for a week.
 *
 * @author Joe Geigel
 */
public abstract class Instrument {

    /** 
     * The rental cost per week
     */
    private double rentalCost;

    /**
     * Constructs a new Instrument
     *
     * @param cost The weekly rental course
     */
    protected Instrument (double cost)
    {
	rentalCost = cost;
    }

    /**
     * Returns the rental cost for the instrument
     *
     * @returns Weekly rental course
     */
    public double getWeeklyRental ()
    {
	return rentalCost;
    }
}
