d04 ex02 change pour pouvoir effectuer le test de erlazo
This commit is contained in:
@@ -2,23 +2,24 @@
|
||||
# define ANIMAL_HPP
|
||||
|
||||
# include "color.h"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
# include <iostream>
|
||||
# include <string>
|
||||
# include "Brain.hpp"
|
||||
|
||||
class Animal {
|
||||
|
||||
public:
|
||||
|
||||
Animal();
|
||||
Animal( Animal const & src );
|
||||
virtual ~Animal( void );
|
||||
Animal & operator=( Animal const & rhs );
|
||||
virtual Animal & operator=( Animal const & rhs );
|
||||
|
||||
virtual void makeSound() const = 0;
|
||||
std::string getType() const;
|
||||
|
||||
protected:
|
||||
virtual Brain * getBrain() const = 0;
|
||||
|
||||
protected:
|
||||
std::string type;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user