21 lines
254 B
C++
21 lines
254 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "./AAnimal.hpp"
|
|
#include "./Brain.hpp"
|
|
|
|
class Dog : public AAnimal
|
|
{
|
|
public:
|
|
Dog(const Dog& src);
|
|
Dog &operator=(const Dog& src);
|
|
Dog();
|
|
~Dog();
|
|
|
|
void makeSound() const;
|
|
|
|
private:
|
|
Brain* brain;
|
|
};
|