cpp/cpp01/ex03/Weapon.cpp
2022-06-10 23:03:30 +02:00

31 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/10 21:13:13 by apommier #+# #+# */
/* Updated: 2022/06/10 21:18:19 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
#include "Weapon.hpp"
Weapon::Weapon(std::string name): _type(name) {
}
Weapon::~Weapon() {
}
std::string const getType(void)
{
return (this->_type);
}
void setType(std::string type)
{
this->_type = type;
}