d04 correction deux erreurs

This commit is contained in:
Hugo LAMY
2022-03-15 21:11:15 +01:00
parent 66c68016ab
commit c19c89be85
10 changed files with 126 additions and 20 deletions

View File

@@ -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;
}