petites transformations sur les makefiles

This commit is contained in:
hugogogo
2022-02-27 22:07:04 +01:00
parent c056db80b7
commit 8f6c8259c8
15 changed files with 351 additions and 0 deletions

15
d04/ex03/srcs/Cure.cpp Normal file
View File

@@ -0,0 +1,15 @@
#include "Cure.hpp"
Cure::Cure() : _type("cure") {}
Cure::Cure( Cure const & src ) {
*this = src
}
Cure & Cure::operator=( Cure const & rhs ) {
return *this;
}
virtual void Ice::use(ICharacter & target) {
std::cout << "* heals " << target.name << "s wounds *"
}