d04 correction deux erreurs
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
#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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user