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