21 lines
1.1 KiB
C++
21 lines
1.1 KiB
C++
/* ************************************************************************** */
|
||
/* */
|
||
/* ::: :::::::: */
|
||
/* Cure.cpp :+: :+: :+: */
|
||
/* +:+ +:+ +:+ */
|
||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||
/* +#+#+#+#+#+ +#+ */
|
||
/* Created: 2024/12/10 12:34:54 by adjoly #+# #+# */
|
||
/* Updated: 2024/12/11 12:08:03 by adjoly ### ########.fr */
|
||
/* */
|
||
/* ************************************************************************** */
|
||
|
||
#include "Cure.hpp"
|
||
#include <iostream>
|
||
|
||
const std::string Cure::_typeName(void) { return ("cure"); }
|
||
|
||
void Cure::use(ICharacter &character) {
|
||
std::cout << "* heals " << character.getName() << "’s wounds *";
|
||
}
|