cpp01/ex03/HumanB.hpp

18 lines
269 B
C++

#ifndef HUMANB_HPP
# define HUMANB_HPP
# include "Weapon.hpp"
class HumanB
{
private:
std::string _name;
Weapon *_weapon;
public:
HumanB(std::string name);
~HumanB();
void attack();
void setWeapon(Weapon &weapon);
};
#endif