cpp-partie-1/cpp01/ex03/Weapon.hpp
2024-02-20 15:35:19 +01:00

32 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/24 16:02:52 by fgras-ca #+# #+# */
/* Updated: 2023/12/24 18:03:55 by fgras-ca ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef WEAPON_HPP
# define WEAPON_HPP
#include <iostream>
#include <string>
class Weapon
{
public:
Weapon(std::string type);
~Weapon(void);
const std::string &getType(void);
void setType(std::string type);
private:
std::string _type;
};
#endif