#include "Weapon.hpp" Weapon::Weapon( std::string type ) { this->_type = type; std::cout << "weapon constructor received : " << this->_type << std::endl; } Weapon::~Weapon() {} std::string Weapon::getType( void ) { return this->_type; std::cout << "weapon getType() return : " << this->_type << std::endl; } void Weapon::setType( std::string type ) { this->_type = type; std::cout << "weapon setType() received : " << this->_type << std::endl; }