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

23
d01/ex03/Weapon.hpp Normal file
View File

@@ -0,0 +1,23 @@
#ifndef WEAPON_HPP
# define WEAPON_HPP
#include <iostream>
#include <string>
class Weapon {
public:
Weapon( std::string type );
~Weapon();
std::string getType( void );
void setType( std::string type );
private:
std::string _type;
};
#endif