Weapon.class.cpp 1.1 KB

123456789101112131415161718192021222324252627282930
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* Weapon.class.cpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2025/07/15 15:48:04 by bchanot #+# #+# */
  9. /* Updated: 2025/07/15 16:46:07 by bchanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #include "Weapon.class.hpp"
  13. Weapon::Weapon(std::string type) : _type(type) {
  14. return;
  15. }
  16. Weapon::~Weapon(void) {
  17. return ;
  18. }
  19. std::string Weapon::getType(void) const {
  20. return this->_type;
  21. }
  22. void Weapon::setType(std::string type) {
  23. this->_type = type;
  24. return ;
  25. }