//******************************************************************************
//
// CS 240C : Spring 2003 Ohio University Travis Dillon
// Project 3 : Animal Homes
// file : bear.h
// started : 05-07-03
// summary : This is a child of the Animal class. This class has all
// the necessary items that a Bear cave would have.
//
//******************************************************************************
#ifndef BEAR_H
#define BEAR_H
#include "prog3.h"
class Bear: public Animal
{
public:
Bear(){id = 2;}
Bear(int bed , int clock, int feet, int cost);
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 bed, int clock, int feet); //returns price for cave
int get_id(){return id;} //returns 2 for bear
private:
int id; //set as 2 for bear
int num_bed; //number of beds
int num_clock; //number of clocks
int sq_feet; //number of square feet
int price; //total price for home
};
#endif //BEAR_H