/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Weapon.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/11/04 19:23:35 by adjoly #+# #+# */ /* Updated: 2024/11/09 18:46:35 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #include "Weapon.hpp" void Weapon::setType(std::string newType) { this->_type = newType; } const std::string &Weapon::getType(void) { return (this->_type); } Weapon::Weapon(std::string type) : _type(type) { }