d04 ex02 ok, presque rien a changer ou je me trompe ?
This commit is contained in:
30
d04/ex01/headers/Dog.hpp
Normal file
30
d04/ex01/headers/Dog.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef DOG_HPP
|
||||
# define DOG_HPP
|
||||
|
||||
# include "color.h"
|
||||
# include <iostream>
|
||||
# include <string>
|
||||
|
||||
# include "Animal.hpp"
|
||||
# include "Brain.hpp"
|
||||
|
||||
class Dog : public Animal {
|
||||
|
||||
public:
|
||||
|
||||
Dog();
|
||||
Dog( Brain *brain );
|
||||
Dog( Dog const & src );
|
||||
~Dog();
|
||||
Dog & operator=( Dog const & rhs );
|
||||
|
||||
void makeSound() const;
|
||||
|
||||
private:
|
||||
|
||||
Brain *_brain;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user