/*                                      
 * Actor.java 
 *
 * Version: 
 *     $Id: Actor.java,v 1.2 2002/03/17 12:48:15 jmg Exp $ 
 * 
 * Revisions: 
 *     $Log: Actor.java,v $
 *     Revision 1.2  2002/03/17 12:48:15  jmg
 *     made a subclass of Performer
 *
 *     Revision 1.1  2002/03/17 12:06:14  jmg
 *     Initial revision
 * 
 */

/**
 * Simple Actor class.  Represents an actor that needs to get 
 * paid
 *
 * @author Joe Geigel
 */
public class Actor extends Performer {

    /**
     * The basic rate per perfomance.  Common for all actors
     */
    private static final double PAYRATE = 200.0;

    /**
     *
     * Constructor for actor class
     *
     * @param name The actor's name
     */
    public Actor (String name){
	super (name, PAYRATE);
    }

    /**
     * Calculates and returns the weekly pay for the actor
     *
     * @returns The weekly pay
     */
    public double calculatePay ()
    {
	return getBasePay();
    }
}
