blob: 88b4357b60e57e45312f606295b7c267bf1d1b45 (
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
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/02 16:36:23 by cacharle #+# #+# */
/* Updated: 2020/11/09 11:08:23 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "Weapon.hpp"
Weapon::Weapon(std::string t) : type(t) {}
std::string const& Weapon::getType() const
{
return type;
}
void Weapon::setType(std::string const& t)
{
type = t;
}
|