-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWeapon.cpp
More file actions
26 lines (21 loc) · 1.09 KB
/
Weapon.cpp
File metadata and controls
26 lines (21 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dpoveda- <me@izenynn.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/02/15 10:54:07 by dpoveda- #+# #+# */
/* Updated: 2022/02/15 11:06:56 by dpoveda- ### ########.fr */
/* */
/* ************************************************************************** */
#include "Weapon.hpp"
Weapon::Weapon(std::string type)
: _type(type) {}
Weapon::~Weapon() {}
void Weapon::setType(std::string type) {
this->_type = type;
}
std::string Weapon::getType() const {
return this->_type;
}