1
0
This repository has been archived on 2025-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
CPP_Module_04/ex03/Cure.cpp

21 lines
1.1 KiB
C++
Raw Normal View History

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Cure.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/10 12:34:54 by adjoly #+# #+# */
/* Updated: 2024/12/12 19:28:00 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 *" << std::endl;
}