16 lines
267 B
C++
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 << " *"
|
|
}
|