cpp/CPP01/ex03/Weapon.hpp
2024-12-04 17:29:31 +01:00

31 lines
1.1 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Weapon.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/20 16:50:04 by erey-bet #+# #+# */
/* Updated: 2023/04/20 17:14:44 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef WEAPON_HPP
# define WEAPON_HPP
# include <string>
# include <iostream>
class Weapon {
public:
Weapon();
Weapon(std::string type);
const std::string &getType(void);
void setType(std::string type);
private:
std::string type;
};
#endif