21 lines
239 B
C++
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;
|
|
|
|
}
|