//******************************************************************************
//
// CS 240C : Spring 2003 Ohio University Travis Dillon
// Project 3 : Animal Homes
// file : groundhog.h
// started : 05-07-03
// summary : This is a child of the Animal class. This class has all
// the necessary items that a Groundhog hole would have.
//
//******************************************************************************
#ifndef GROUNDHOG_H
#define GROUNDHOG_H
#include "prog3.h"
class Groundhog: public Animal
{
public:
Groundhog(){id = 4;}
Groundhog(int xbox, int cost, int di, int len);
void input(); //get object data from user
void output(); //output object data to screen
void print(ofstream& fout); //this ouptuts object data to file
int set_price(int xbox, int di, int len); //returns price for hole
int get_id(){return id;} //returns 4 for groundhogs
private:
int id; //set as 4 for groundhogs
int diam; //diameter of groundhog hole
int length; //total linear length of groundhog hole
int num_xbox; //number of xbox's
int price; //total price for home
};
#endif //GROUNDHOG_H