Files
42_INT_09_piscine_cpp/d01/ex03/Weapon.cpp
2022-02-06 17:59:33 +01:00

22 lines
254 B
C++

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