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

30 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* HumanA.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/24 16:13:39 by fgras-ca #+# #+# */
/* Updated: 2023/12/24 18:01:21 by fgras-ca ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HUMANA_HPP
# define HUMANA_HPP
#include "Weapon.hpp"
class HumanA
{
public:
HumanA(std::string name, Weapon &weapon);
~HumanA(void);
void attack(void);
private:
std::string _name;
Weapon &_weapon;
};
#endif