From 96dcf214a8c40529b251ea31ef037868583dd1da Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 12 Nov 2020 10:54:47 +0100 Subject: Fixing cpp03, moved more common logic in ClapTrap, Added better main --- cpp03/ex04/SuperTrap.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cpp03/ex04/SuperTrap.hpp') diff --git a/cpp03/ex04/SuperTrap.hpp b/cpp03/ex04/SuperTrap.hpp index f660e20..ac76037 100644 --- a/cpp03/ex04/SuperTrap.hpp +++ b/cpp03/ex04/SuperTrap.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 17:48:31 by charles #+# #+# */ -/* Updated: 2020/11/11 07:13:14 by cacharle ### ########.fr */ +/* Updated: 2020/11/12 08:50:07 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -21,7 +21,6 @@ class SuperTrap : public FragTrap, public NinjaTrap { public: - SuperTrap(); SuperTrap(std::string const& name); SuperTrap(SuperTrap const& other); SuperTrap& operator=(SuperTrap const& other); @@ -29,6 +28,9 @@ public: void rangedAttack(std::string const& target) const; void meleeAttack(std::string const& target) const; + +private: + SuperTrap(); }; #endif -- cgit