aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex06/Weapon.hpp
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-02 18:05:01 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-02 18:05:01 +0100
commita5a197590e45494dc31f0d2fc8fb13194b3975c9 (patch)
treef3350feda6ac6549a2b5fc4b45d9ca19f86345d0 /cpp01/ex06/Weapon.hpp
parent7d6a4c877de8048ec5fbea4a563b3d09c8976105 (diff)
downloadpiscine_cpp-a5a197590e45494dc31f0d2fc8fb13194b3975c9.tar.gz
piscine_cpp-a5a197590e45494dc31f0d2fc8fb13194b3975c9.tar.bz2
piscine_cpp-a5a197590e45494dc31f0d2fc8fb13194b3975c9.zip
cpp01 ex05 wip, ex06
Diffstat (limited to 'cpp01/ex06/Weapon.hpp')
-rw-r--r--cpp01/ex06/Weapon.hpp29
1 files changed, 29 insertions, 0 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* 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 <string>
+
+class Weapon
+{
+ private:
+ std::string type;
+
+ public:
+ Weapon(std::string type);
+ const std::string& getType();
+ void setType(const std::string& type);
+};
+
+#endif