petites transformations sur les makefiles
This commit is contained in:
15
d04/ex03/srcs/Ice.cpp
Normal file
15
d04/ex03/srcs/Ice.cpp
Normal 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 << " *"
|
||||
}
|
||||
Reference in New Issue
Block a user