aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex06/HumanA.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex06/HumanA.hpp')
-rw-r--r--cpp01/ex06/HumanA.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/cpp01/ex06/HumanA.hpp b/cpp01/ex06/HumanA.hpp
new file mode 100644
index 0000000..1c3ccf9
--- /dev/null
+++ b/cpp01/ex06/HumanA.hpp
@@ -0,0 +1,29 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* HumanA.hpp :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/02 16:37:23 by cacharle #+# #+# */
+/* Updated: 2020/02/02 16:54:48 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef HUMANA_HPP
+# define HUMANA_HPP
+
+# include <iostream>
+# include "Weapon.hpp"
+
+class HumanA
+{
+ private:
+ std::string name;
+ Weapon weapon;
+ public:
+ HumanA(std::string(name), Weapon(weapon));
+ void attack();
+};
+
+#endif