| 12345678910111213141516171819202122232425262728293031 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* HumanA.class.hpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/07/15 15:37:01 by bchanot #+# #+# */
- /* Updated: 2025/07/15 18:13:28 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #ifndef HUMANA_CLASS_H
- #define HUMANA_CLASS_H
- #include <iostream>
- #include "Weapon.class.hpp"
- class HumanA {
- public:
- HumanA(std::string name, Weapon &weapon);
- ~HumanA(void);
- void attack(void) const;
- private:
- std::string _name;
- Weapon &_weapon;
- };
- #endif
|