aboutsummaryrefslogtreecommitdiff
path: root/cpp03/ex04/NinjaTrap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp03/ex04/NinjaTrap.hpp')
-rw-r--r--cpp03/ex04/NinjaTrap.hpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/cpp03/ex04/NinjaTrap.hpp b/cpp03/ex04/NinjaTrap.hpp
new file mode 100644
index 0000000..72d7039
--- /dev/null
+++ b/cpp03/ex04/NinjaTrap.hpp
@@ -0,0 +1,35 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* NinjaTrap.hpp :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/04/13 17:31:24 by charles #+# #+# */
+/* Updated: 2020/04/13 18:41:44 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef NINJATRAP_HPP
+# define NINJATRAP_HPP
+
+# include "ClapTrap.hpp"
+# include "FragTrap.hpp"
+# include "ScavTrap.hpp"
+
+class NinjaTrap : public virtual ClapTrap
+{
+public:
+ NinjaTrap();
+ NinjaTrap(std::string name);
+ NinjaTrap(NinjaTrap const& other);
+ void operator=(NinjaTrap const& other);
+ ~NinjaTrap();
+
+ void ninjaShoebox(NinjaTrap const& target);
+ void ninjaShoebox(FragTrap const& target);
+ void ninjaShoebox(ScavTrap const& target);
+ void ninjaShoebox(ClapTrap const& target);
+};
+
+#endif