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