-
Notifications
You must be signed in to change notification settings - Fork 0
/
HumanB.hpp
31 lines (27 loc) · 1.14 KB
/
HumanB.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* HumanB.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/06 15:59:11 by zelhajou #+# #+# */
/* Updated: 2024/06/06 22:51:28 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HUMANB_HPP
#define HUMANB_HPP
#include "Weapon.hpp"
#include <string>
#include <iostream>
class HumanB
{
private:
std::string name;
Weapon *weapon;
public:
HumanB(const std::string &name);
void setWeapon(Weapon &weapon);
void attack() const;
};
#endif