blob: e51794781e360dc8b8e1e20ad685e12cb7e64f3e (
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/04/13 10:25:35 by charles ### ########.fr */
/* */
/* ************************************************************************** */
#include "Weapon.hpp"
Weapon::Weapon(std::string t)
: type(t)
{
}
const std::string& Weapon::getType() const
{
return type;
}
void Weapon::setType(const std::string& t)
{
type = t;
}
|