18 lines
221 B
C++
18 lines
221 B
C++
|
|
#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
|