22 lines
254 B
C++
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;
|
|
|
|
}
|