21 lines
301 B
C++
21 lines
301 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class Weapon
|
|
{
|
|
public:
|
|
Weapon();
|
|
Weapon(const Weapon& src);
|
|
Weapon(const std::string& type);
|
|
~Weapon();
|
|
|
|
Weapon& operator=(const Weapon& src);
|
|
|
|
const std::string& getType();
|
|
void setType(const std::string& newType);
|
|
|
|
private:
|
|
std::string _type;
|
|
};
|