11 lines
245 B
C++
11 lines
245 B
C++
|
|
#include "Weapon.hpp"
|
||
|
|
|
||
|
|
Weapon::Weapon(std::string type) { this->type = type; }
|
||
|
|
|
||
|
|
const std::string &Weapon::getType(void) {
|
||
|
|
const std::string &retvalue = type;
|
||
|
|
return retvalue;
|
||
|
|
}
|
||
|
|
|
||
|
|
void Weapon::setType(std::string type) { this->type = type; }
|