Ice.hpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* Ice.hpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@42.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2025/12/19 15:29:40 by bchanot #+# #+# */
  9. /* Updated: 2025/12/19 15:45:48 by bchanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #ifndef ICE_HPP
  13. # define ICE_HPP
  14. # include <iostream>
  15. # include <string>
  16. #include "AMateria.hpp"
  17. class Ice : public AMateria
  18. {
  19. public:
  20. Ice();
  21. Ice( Ice const & src );
  22. ~Ice();
  23. Ice & operator=( Ice const & rhs ) = delete;
  24. virtual AMateria* clone() const;
  25. virtual void use(ICharacter& target);
  26. };
  27. std::ostream & operator<<( std::ostream & o, Ice const & i );
  28. #endif /* ************************************************************* ICE_H */