debut d01 ex03
This commit is contained in:
20
d01/ex03/Weapon.cpp
Normal file
20
d01/ex03/Weapon.cpp
Normal 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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user