39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Dog.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/09/06 02:27:27 by aortigos #+# #+# */
|
|
/* Updated: 2025/09/06 02:28:09 by aortigos ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef DOG_HPP
|
|
|
|
# define DOG_HPP
|
|
|
|
# include <iostream>
|
|
# include "../Animal/Animal.hpp"
|
|
# include "../Brain/Brain.hpp"
|
|
|
|
class Dog : public Animal
|
|
{
|
|
private:
|
|
Brain *brain;
|
|
|
|
public:
|
|
Dog();
|
|
~Dog();
|
|
Dog(const Dog &other);
|
|
Dog& operator=(const Dog &other);
|
|
|
|
void makeSound() const;
|
|
|
|
Brain* getBrain() const { return brain; }
|
|
|
|
};
|
|
|
|
#endif
|