You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
3 years ago
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* HumanB.hpp :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/06/14 12:54:11 by narnaud #+# #+# */
|
||
|
/* Updated: 2022/06/16 10:33:28 by narnaud ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#ifndef HUMANB_HPP
|
||
|
# define HUMANB_HPP
|
||
|
|
||
|
# include "Weapon.hpp"
|
||
|
|
||
|
class HumanB
|
||
|
{
|
||
|
public:
|
||
|
HumanB(string name);
|
||
|
HumanB(string name, Weapon &weap);
|
||
|
void attack(void) const;
|
||
|
void setWeapon(Weapon &weap);
|
||
|
private:
|
||
|
string _name;
|
||
|
Weapon *_weapon;
|
||
|
};
|
||
|
|
||
|
#endif
|