blob: bed64b59ca877c264972157137b8800fee04ddcb (
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
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/10 11:59:21 by dkaiser #+# #+# */
/* Updated: 2025/02/10 12:45:10 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
#include "Weapon.hpp"
Weapon::Weapon(const std::string &type)
:type(type)
{}
const std::string& Weapon::getType(void) const
{
return this->type;
}
void Weapon::setType(const std::string &type)
{
this->type = type;
}
|