void Cure::use(ICharacter &target) { std::cout << "* heals " << target.getName() << "’s wounds *" << std::endl; AMateria::use(target); }
void Ice::use(ICharacter& target) { AMateria::use(target); std::cout << "* shoots an ice bolt at " << target.getName() << " *" << std::endl; }
void Cure::useMateria(ICharacter& user) { std::cout << "* heals " << user.getName() << "'s wounds *" << std::endl; }
void Ice::effect(ICharacter & target) { speak(std::string("* shoots an ice bolt at ") + target.getName() + " *"); }
void Cure::effect(ICharacter & target) { speak(std::string("* heals ") + target.getName() + "'s wounds *"); }