42_CPP01/ex03/src/Weapon.hpp
2023-07-18 03:20:06 +02:00

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;
};