blob: d21cb9dbfdf8b731310bacdf32c698c8535cf2cd (
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/11/10 08:39:45 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HUMANB_HPP
# define HUMANB_HPP
# include <iostream>
# include "Weapon.hpp"
class HumanB
{
public:
HumanB(std::string const& name);
void attack();
void setWeapon(Weapon const& weapon);
private:
std::string m_name;
Weapon const* m_weapon;
};
#endif
|