blob: 269f4fc59560ce5c9277a6d6471c69f7a92f56b2 (
plain)
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
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* HumanB.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/02 16:42:54 by cacharle #+# #+# */
/* Updated: 2020/04/13 10:23:31 by charles ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HUMANB_HPP
# define HUMANB_HPP
# include <iostream>
# include "Weapon.hpp"
class HumanB
{
public:
HumanB(std::string name);
void attack();
void setWeapon(Weapon& weapon);
private:
std::string m_name;
Weapon* m_weapon;
};
#endif
|