#include "Weapon.hpp" Weapon::Weapon(std::string type) { this->type = type; } const std::string &Weapon::getType(void) { const std::string &retvalue = type; return retvalue; } void Weapon::setType(std::string type) { this->type = type; }