/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* IMateriaSource.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/12/24 15:35:03 by bchanot #+# #+# */ /* Updated: 2025/12/24 15:35:58 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef IMATERIASOURCE_HPP # define IMATERIASOURCE_HPP # include # include #include "AMateria.hpp" class IMateriaSource { public: virtual ~IMateriaSource() {} virtual void learnMateria(AMateria*) = 0; virtual AMateria* createMateria(std::string const & type) = 0; }; std::ostream & operator<<( std::ostream & o, IMateriaSource const & i ); #endif /* ************************************************** IMATERIASOURCE_H */