feat(ex03): it works
This commit is contained in:
parent
8f7b9c3068
commit
28784b50f0
9 changed files with 153 additions and 0 deletions
17
ex03/Weapon.hpp
Normal file
17
ex03/Weapon.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef WEAPON_HPP
|
||||
#define WEAPON_HPP
|
||||
|
||||
#include <string>
|
||||
|
||||
class Weapon {
|
||||
public:
|
||||
Weapon(std::string type);
|
||||
|
||||
const std::string &getType(void);
|
||||
void setType(std::string type);
|
||||
|
||||
private:
|
||||
std::string type;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue