aboutsummaryrefslogtreecommitdiff
path: root/cpp03/ex03/NinjaTrap.hpp
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-13 18:44:40 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-13 18:44:40 +0200
commit119f7f96e77a2d86d692e82645dde4c2dc054052 (patch)
tree73c863970a5d0ac8a3c77f9bf96e5aaf2c4c66c8 /cpp03/ex03/NinjaTrap.hpp
parent3d48ed0312f9c0ae691560d7cd688f46917e3fd4 (diff)
downloadpiscine_cpp-119f7f96e77a2d86d692e82645dde4c2dc054052.tar.gz
piscine_cpp-119f7f96e77a2d86d692e82645dde4c2dc054052.tar.bz2
piscine_cpp-119f7f96e77a2d86d692e82645dde4c2dc054052.zip
cpp03, except ex04
Diffstat (limited to 'cpp03/ex03/NinjaTrap.hpp')
-rw-r--r--cpp03/ex03/NinjaTrap.hpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/cpp03/ex03/NinjaTrap.hpp b/cpp03/ex03/NinjaTrap.hpp
index e69de29..217ae33 100644
--- a/cpp03/ex03/NinjaTrap.hpp
+++ b/cpp03/ex03/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 17:45:16 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef NINJATRAP_HPP
+# define NINJATRAP_HPP
+
+# include "ClapTrap.hpp"
+# include "FragTrap.hpp"
+# include "ScavTrap.hpp"
+
+class NinjaTrap : public 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