debut d01 ex03

This commit is contained in:
hugogogo
2022-02-05 19:14:56 +01:00
parent e6929e8e12
commit c1990815e2
11 changed files with 306 additions and 0 deletions

20
d01/ex03/Weapon.cpp Normal file
View File

@@ -0,0 +1,20 @@
#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;
}