27 lines
1.1 KiB
C++
27 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* HumanB.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/11/04 19:39:47 by adjoly #+# #+# */
|
|
/* Updated: 2024/11/04 19:50:19 by adjoly ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
|
|
#include "Weapon.hpp"
|
|
#include <string>
|
|
|
|
class HumanB {
|
|
private:
|
|
std::string name;
|
|
Weapon weapon;
|
|
|
|
public:
|
|
void attack(void);
|
|
void setWeapon(Weapon newWeapon);
|
|
};
|