Files
42_INT_09_piscine_cpp/d04/ex03/srcs/Ice.cpp
2022-02-27 22:07:04 +01:00

16 lines
267 B
C++

#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 << " *"
}