debut d01 ex03
This commit is contained in:
23
d01/ex03/Weapon.hpp
Normal file
23
d01/ex03/Weapon.hpp
Normal 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
|
||||
Reference in New Issue
Block a user