Files
42_INT_09_piscine_cpp/d01/ex03/Weapon.cpp
2022-02-05 19:14:56 +01:00

21 lines
239 B
C++

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