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/Ice.cpp Normal file
View File

@@ -0,0 +1,15 @@
#include "Ice.hpp"
Ice::Ice() : _type("ice") {}
Ice::Ice( Ice const & src ) {
*this = src
}
Ice & Ice::operator=( Ice const & rhs ) {
return *this;
}
virtual void Ice::use(ICharacter & target) {
std::cout << "* shoots an ice bolt at " << target.name << " *"
}