// Arup Guha
// 4/5/07
// Class for Spring 2007 COP 3330 Assignment #5

public class ClericalStaff extends HourlyEmployee {

	// Constructor sets the instance variables as expected, just like
	// a regular HourlyEmployee. 
	public ClericalStaff(String f, String l, int daysv, double rate, 
						  int hrsworked, double orate, int oworked) {
		super(f,l,daysv,rate,hrsworked,orate,oworked);
	}
	
	// Mature's the current object one year. In particular, ClericalStaff work
	// the same way as HourlyEmployee's but they get 2 MORE vacation days a
	// year total (still with a cap of 20.)
	protected void mature() {

		daysofvacation += 2;
 		super.mature();
		
	}
	
	
}