cpp04/ex02/AAnimal.hpp

22 lines
428 B
C++

#ifndef AANIMAL_HPP
# define AANIMAL_HPP
# include <iostream>
# include "Brain.hpp"
class AAnimal
{
protected :
std::string _type;
public :
AAnimal();
AAnimal(std::string type);
AAnimal(const AAnimal &other);
virtual ~AAnimal();
AAnimal & operator=(const AAnimal &other);
virtual void makeSound() const = 0;
std::string getType() const;
};
#endif