/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* MateriaSource.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/12/10 13:51:37 by adjoly #+# #+# */ /* Updated: 2024/12/11 12:18:02 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once #include "AMateria.hpp" #include "IMateriaSource.hpp" class MateriaSource : public IMateriaSource { private: AMateria *_materias[4]; public: MateriaSource(void); ~MateriaSource(void); MateriaSource(const MateriaSource &); MateriaSource &operator=(const MateriaSource &); void learnMateria(AMateria *); AMateria *createMateria(std::string const &); };