/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Weapon.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/02 16:36:23 by cacharle #+# #+# */ /* Updated: 2020/02/02 16:56:48 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include "Weapon.hpp" Weapon::Weapon(std::string type) { this->type = type; } const std::string& Weapon::getType() { return &type; } void Weapon::setType(const std::string& type) { this->type = type; }