#pragma once #include 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; };