blob: 86738a828e87123fc216829f8df5ad756c294850 (
plain)
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
27
28
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/02 16:36:23 by cacharle #+# #+# */
/* Updated: 2020/02/02 16:56:48 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "Weapon.hpp"
Weapon::Weapon(std::string type)
{
this->type = type;
}
const std::string& Weapon::getType()
{
return &type;
}
void Weapon::setType(const std::string& type)
{
this->type = type;
}
|