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.

21 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Ice.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/07 12:13:03 by adjoly #+# #+# */
/* Updated: 2024/12/12 19:27:52 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "Ice.hpp"
#include <iostream>
const std::string Ice::_typeName(void) { return ("ice"); }
void Ice::use(ICharacter &character) {
std::cout << "* shoots an ice bolt at " << character.getName() << " *" << std::endl;
}