From a5a197590e45494dc31f0d2fc8fb13194b3975c9 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 2 Feb 2020 18:05:01 +0100 Subject: cpp01 ex05 wip, ex06 --- cpp01/ex06/Weapon.hpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 cpp01/ex06/Weapon.hpp (limited to 'cpp01/ex06/Weapon.hpp') diff --git a/cpp01/ex06/Weapon.hpp b/cpp01/ex06/Weapon.hpp new file mode 100644 index 0000000..ea9b738 --- /dev/null +++ b/cpp01/ex06/Weapon.hpp @@ -0,0 +1,29 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* Weapon.hpp :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/02 16:34:31 by cacharle #+# #+# */ +/* Updated: 2020/02/02 16:56:40 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef WEAPON_HPP +# define WEAPON_HPP + +# include + +class Weapon +{ + private: + std::string type; + + public: + Weapon(std::string type); + const std::string& getType(); + void setType(const std::string& type); +}; + +#endif -- cgit