示例#1
0
文件: Cure.cpp 项目: Julow/cpp_pool
void			Cure::use(ICharacter &target)
{
	std::cout << "* heals " << target.getName() << "’s wounds *" << std::endl;
	AMateria::use(target);
}
示例#2
0
文件: Ice.cpp 项目: alex8092/cpp
void 		Ice::use(ICharacter& target)
{
	AMateria::use(target);
	std::cout << "* shoots an ice bolt at " << target.getName() << " *" << std::endl;
}
示例#3
0
void		Cure::useMateria(ICharacter& user) {
  std::cout << "* heals " << user.getName() << "'s wounds *" << std::endl; }
示例#4
0
文件: Ice.cpp 项目: Hiruxou/Epitech-2
void Ice::effect(ICharacter & target) {
	speak(std::string("* shoots an ice bolt at ") + target.getName() + " *");
}
示例#5
0
void Cure::effect(ICharacter & target) {
	speak(std::string("* heals ") + target.getName() + "'s wounds *");
}