cpp/cpp01/ex03/Weapon.hpp
2022-06-16 23:45:33 +02:00

35 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/10 19:43:13 by apommier #+# #+# */
/* Updated: 2022/06/16 23:39:20 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef WEAPON_HPP
# define WEAPON_HPP
#include <iostream>
#include <string>
class Weapon {
public:
Weapon(std::string str);
~Weapon(void);
std::string& getType(void);
void setType(const std::string type);
private:
std::string _type;
};
#endif