//******************************************************************************
//
// CS 240C : Spring 2003 Ohio University Travis Dillon
// Project 3 : Animal Homes
// file : bat.h
// started : 05-07-03
// summary : This is a child of the Animal class. This class has all
// the necessary items that a Bat cave would have.
//
//******************************************************************************
#ifndef BAT_H
#define BAT_H
#include "prog3.h"
class Bat: public Animal
{
public:
Bat(){id = 1;}
Bat(int comp, int tv, int cost, int feet);
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 tv, int comp, int feet); //returns price for cave
int get_id(){return id;} //returns 1 for bats
private:
int id; //set as 1 for bats
int num_tv; //number of televisions
int num_comp; //number of computers
int sq_feet; //number of square feet
int price; //price of the cave
};
#endif //Bat_H