24 lines
256 B
C++
24 lines
256 B
C++
#ifndef WEAPON_HPP
|
|
# define WEAPON_HPP
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
class Weapon {
|
|
|
|
public:
|
|
|
|
Weapon( std::string type );
|
|
~Weapon();
|
|
|
|
std::string getType() const;
|
|
void setType( std::string type );
|
|
|
|
private:
|
|
|
|
std::string _type;
|
|
|
|
};
|
|
|
|
#endif
|