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.

27 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/07/18 10:07:11 by narnaud ### ########.fr */
3 years ago
/* */
/* ************************************************************************** */
#pragma once
#include "Weapon.hpp"
3 years ago
class HumanB
{
public:
HumanB(string name);
HumanB(string name, Weapon &weap);
void attack(void) const;
void setWeapon(Weapon &weap);
private:
string _name;
Weapon *_weapon;
};