32 lines
1.2 KiB
C++
32 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* Dog.hpp :+: :+: */
|
|
/* +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2025/04/05 17:04:03 by whaffman #+# #+# */
|
|
/* Updated: 2025/04/14 21:34:05 by whaffman ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
|
|
#include "AAnimal.hpp"
|
|
#include "Brain.hpp"
|
|
#include <string>
|
|
|
|
class Dog : public AAnimal
|
|
{
|
|
private:
|
|
Brain *brain;
|
|
|
|
public:
|
|
Dog();
|
|
Dog(const Dog &other);
|
|
~Dog() override;
|
|
Dog &operator=(const Dog &other);
|
|
|
|
void makeSound(void) const override;
|
|
Brain &getBrain();
|
|
}; |