HumanA.class.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* HumanA.class.hpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2025/07/15 15:37:01 by bchanot #+# #+# */
  9. /* Updated: 2025/07/15 18:13:28 by bchanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #ifndef HUMANA_CLASS_H
  13. #define HUMANA_CLASS_H
  14. #include <iostream>
  15. #include "Weapon.class.hpp"
  16. class HumanA {
  17. public:
  18. HumanA(std::string name, Weapon &weapon);
  19. ~HumanA(void);
  20. void attack(void) const;
  21. private:
  22. std::string _name;
  23. Weapon &_weapon;
  24. };
  25. #endif