/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* AMateria.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/12/31 16:47:27 by fgras-ca #+# #+# */ /* Updated: 2023/12/31 16:48:56 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #include "AMateria.hpp" AMateria::AMateria(std::string const & type) : type(type) {} AMateria::~AMateria() {} std::string const & AMateria::getType() const { return (this->type); } void AMateria::use(ICharacter& target) { std::cout << "* uses some unknown materia on " << target.getName() << " *" << std::endl; }