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