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.
26 lines
1.1 KiB
26 lines
1.1 KiB
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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 */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
#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;
|
|
};
|
|
|