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

25
d01/ex03/HumanA.hpp Normal file
View File

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