piscine_cpp/cpp01/ex03/HumanA.hpp

30 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* HumanA.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/05 13:34:19 by rparodi #+# #+# */
/* Updated: 2024/11/05 14:23:03 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HUMANA_HPP
#define HUMANA_HPP
#include "Weapon.hpp"
#include <iostream>
#include <string>
class HumanA {
public:
HumanA(std::string name, Weapon &toGive);
~HumanA();
void attack();
private:
std::string _name;
Weapon *_weapon;
};
#endif