/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* AMateria.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/12/18 19:23:39 by bchanot #+# #+# */ /* Updated: 2025/12/19 15:29:08 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef AMATERIA_HPP # define AMATERIA_HPP # include # include #include "ICharacter.hpp" class AMateria { public: AMateria(); AMateria(std::string const & type); AMateria( AMateria const & src ); ~AMateria(); std::string const & getType() const; virtual AMateria* clone() const = 0; virtual void use(ICharacter& target); protected: std::string const &_type; }; #endif /* ******************************************************** AMATERIA_H */