/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Weapon.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: apommier +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/10 21:13:13 by apommier #+# #+# */ /* Updated: 2022/07/23 12:37:01 by apommier ### ########.fr */ /* */ /* ************************************************************************** */ #include "Weapon.hpp" Weapon::Weapon() : _type("words"){ return; } Weapon::Weapon(std::string type) : _type(type){ return; } Weapon::~Weapon() { return; } const std::string& Weapon::getType(void) const { return (this->_type); } void Weapon::setType(std::string newType) { _type = newType; }