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