Files
42_INT_09_piscine_cpp/d01/ex03/Weapon.cpp
2022-03-15 21:11:15 +01:00

16 lines
256 B
C++

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