mirror of
https://github.com/Ladebeze66/cpp-partie-1.git
synced 2025-12-15 21:57:03 +01:00
31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* HumanB.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/12/24 16:18:38 by fgras-ca #+# #+# */
|
|
/* Updated: 2023/12/24 17:58:53 by fgras-ca ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef HUMANB_HPP
|
|
# define HUMANB_HPP
|
|
|
|
#include "Weapon.hpp"
|
|
|
|
class HumanB
|
|
{
|
|
public:
|
|
HumanB(std::string name);
|
|
~HumanB(void);
|
|
void attack(void);
|
|
void setWeapon(Weapon &weapon);
|
|
|
|
private:
|
|
std::string _name;
|
|
Weapon *_weapon;
|
|
};
|
|
|
|
#endif |