-
Notifications
You must be signed in to change notification settings - Fork 0
/
Weapon.cpp
24 lines (20 loc) · 1.08 KB
/
Weapon.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/06 15:59:14 by zelhajou #+# #+# */
/* Updated: 2024/06/06 17:04:30 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#include "Weapon.hpp"
Weapon::Weapon(const std::string &type) : type(type) {}
const std::string &Weapon::getType() const {
return type;
}
void Weapon::setType(const std::string &type)
{
this->type = type;
}