25 lines
464 B
C++
25 lines
464 B
C++
#ifndef DOG_HPP
|
|
# define DOG_HPP
|
|
|
|
# include <iostream>
|
|
# include "AAnimal.hpp"
|
|
# include "Brain.hpp"
|
|
|
|
class Dog : public AAnimal
|
|
{
|
|
private:
|
|
Brain *_brain;
|
|
|
|
public :
|
|
Dog();
|
|
Dog(std::string type);
|
|
Dog(const Dog &other);
|
|
virtual ~Dog();
|
|
Dog & operator=(const Dog &other);
|
|
|
|
virtual void makeSound() const;
|
|
std::string getIdea(int n_idea) const;
|
|
void setIdea(int n_idea, std::string idea);
|
|
};
|
|
|
|
#endif |