22 lines
1.0 KiB
C++
22 lines
1.0 KiB
C++
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* Weapon.cpp :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2024/11/04 19:23:35 by adjoly #+# #+# */
|
||
|
/* Updated: 2024/11/04 19:34:02 by adjoly ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "Weapon.hpp"
|
||
|
|
||
|
void Weapon::setType(std::string newType) {
|
||
|
this->type = newType;
|
||
|
}
|
||
|
|
||
|
std::string Weapon::getType(void) {
|
||
|
return (this->type);
|
||
|
}
|