//Dog.h
/* This class is a subclass of animal and has the number of times a dog is walked.
Crystal Torres
Section 1MA3C
*/
// --------------------------
#ifndef DOG_H
#define DOG_H
#include "Animal.h"
class Dog:public Animal {
public:
// Default constructor for dog
Dog();
// sets name and weight
Dog (string,int,int);
// return animal info
virtual AnimalInfo getInfo() const;
// get time feed
virtual int getTimesFeed() const {return 3;}
// get times walked
int getTimesWalked() const {return walk;}
//return species
virtual string getSpecies() const {return "Dog";}
// overload ==
// virtual overload == (const Dog&);
private:
int walk;
};
#endif