34 lines
1.3 KiB
C++
34 lines
1.3 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Dog.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/02/18 16:26:17 by rparodi #+# #+# */
|
|
/* Updated: 2025/02/18 20:11:18 by rparodi ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef DOG_HPP
|
|
#define DOG_HPP
|
|
|
|
#include "AAnimal.hpp"
|
|
#include "Brain.hpp"
|
|
|
|
class Dog : public AAnimal {
|
|
public:
|
|
Dog();
|
|
~Dog();
|
|
Dog(Dog const & copy);
|
|
Dog & operator=(Dog const & assign);
|
|
virtual void makeSound() const;
|
|
std::string getIdea(int const index) const;
|
|
void setIdea(int const index, std::string const idea) const;
|
|
Dog* clone() const;
|
|
protected:
|
|
Brain *brain;
|
|
std::string type;
|
|
};
|
|
|
|
#endif
|