aboutsummaryrefslogtreecommitdiff
path: root/cpp03/ex03/ScavTrap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp03/ex03/ScavTrap.hpp')
-rw-r--r--cpp03/ex03/ScavTrap.hpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/cpp03/ex03/ScavTrap.hpp b/cpp03/ex03/ScavTrap.hpp
new file mode 100644
index 0000000..1ec4008
--- /dev/null
+++ b/cpp03/ex03/ScavTrap.hpp
@@ -0,0 +1,31 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ScavTrap.hpp :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/04/13 14:11:51 by charles #+# #+# */
+/* Updated: 2020/04/13 15:34:53 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef SCAVTRAP_HPP
+# define SCAVTRAP_HPP
+
+# include <cstdlib>
+# include "ClapTrap.hpp"
+
+class ScavTrap : public ClapTrap
+{
+public:
+ ScavTrap();
+ ScavTrap(std::string name);
+ ScavTrap(ScavTrap const& other);
+ void operator=(ScavTrap const& other);
+ ~ScavTrap();
+
+ void challengeNewcomer(std::string const& target);
+};
+
+#endif