cpp/CPP01/ex03/HumanA.hpp
2024-12-04 17:29:31 +01:00

30 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* HumanA.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/20 16:56:55 by erey-bet #+# #+# */
/* Updated: 2023/04/20 17:19:21 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HUMANA_HPP
# define HUMANA_HPP
# include "Weapon.hpp"
# include <string>
class HumanA {
public:
HumanA(std::string name, Weapon &weapon);
void attack(void);
private:
std::string name;
Weapon &weapon;
};
#endif