cpp-partie-1/cpp01/ex03/HumanB.hpp
2024-02-20 15:35:19 +01:00

31 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* HumanB.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/24 16:18:38 by fgras-ca #+# #+# */
/* Updated: 2023/12/24 17:58:53 by fgras-ca ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HUMANB_HPP
# define HUMANB_HPP
#include "Weapon.hpp"
class HumanB
{
public:
HumanB(std::string name);
~HumanB(void);
void attack(void);
void setWeapon(Weapon &weapon);
private:
std::string _name;
Weapon *_weapon;
};
#endif