From 119f7f96e77a2d86d692e82645dde4c2dc054052 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 13 Apr 2020 18:44:40 +0200 Subject: cpp03, except ex04 --- cpp03/ex02/ScavTrap.hpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 cpp03/ex02/ScavTrap.hpp (limited to 'cpp03/ex02/ScavTrap.hpp') diff --git a/cpp03/ex02/ScavTrap.hpp b/cpp03/ex02/ScavTrap.hpp new file mode 100644 index 0000000..1ec4008 --- /dev/null +++ b/cpp03/ex02/ScavTrap.hpp @@ -0,0 +1,31 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ScavTrap.hpp :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: charles +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* 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 +# 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 -- cgit