Site hosted by Angelfire.com: Build your free website today!
// Animal.h
/* This class holds general animal information and is the super class.

	Crystal Torres
	Section 1MA3C
	November 12,2003
*/

// -------------------------

#ifndef ANIMAL_H
#define ANIMAL_H

#include <iostream>
#include <string>
#include "AnimalInfo.h"

class Animal {
	public:
		Animal() {name = ""; weight = 0;}
		Animal(string n,int w) {name = n; weight = w;}
		virtual string getSpecies() const = 0;
		virtual AnimalInfo getInfo () const = 0;
		virtual int getTimesFeed () const = 0;
	
	protected:
		int weight;
		string name;
};
#endif