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