32 lines
1.2 KiB
C++
32 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* HumanB.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/04/20 16:56:55 by erey-bet #+# #+# */
|
|
/* Updated: 2023/04/20 17:32:28 by erey-bet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef HUMANB_HPP
|
|
# define HUMANB_HPP
|
|
|
|
# include "Weapon.hpp"
|
|
# include <string>
|
|
|
|
class HumanB {
|
|
public:
|
|
HumanB(std::string name);
|
|
HumanB(std::string name, Weapon &weapon);
|
|
void attack(void);
|
|
void setWeapon(Weapon &weapon);
|
|
|
|
private:
|
|
std::string name;
|
|
Weapon *weapon;
|
|
};
|
|
|
|
#endif
|