debut d01 ex03

This commit is contained in:
hugogogo
2022-02-05 19:14:56 +01:00
parent e6929e8e12
commit c1990815e2
11 changed files with 306 additions and 0 deletions

26
d01/ex03/HumanB.hpp Normal file
View File

@@ -0,0 +1,26 @@
#ifndef HUMANB_HPP
# define HUMANB_HPP
#include "Weapon.hpp"
#include <iostream>
#include <string>
class HumanB {
public:
HumanB( std::string name );
~HumanB();
void attack( void );
void setWeapon( Weapon weapon );
private:
std::string _name;
Weapon * _weapon;
};
#endif