diff options
Diffstat (limited to 'cpp04/ex01/RadScorpion.cpp')
| -rw-r--r-- | cpp04/ex01/RadScorpion.cpp | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/cpp04/ex01/RadScorpion.cpp b/cpp04/ex01/RadScorpion.cpp index 7e2ea84..a5fcb27 100644 --- a/cpp04/ex01/RadScorpion.cpp +++ b/cpp04/ex01/RadScorpion.cpp @@ -6,7 +6,7 @@ /* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 13:36:11 by charles #+# #+# */ -/* Updated: 2020/11/12 13:55:44 by cacharle ### ########.fr */ +/* Updated: 2020/12/11 10:54:28 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -32,3 +32,26 @@ RadScorpion::~RadScorpion() { std::cout << "* SPROTCH *" << std::endl; } + +/*****************************************************************************/ + +NotSoRadScorpion::NotSoRadScorpion() : Enemy(80, "NotSoRadScorpion") +{ + std::cout << "* not so click click click *" << std::endl; +} + +NotSoRadScorpion::NotSoRadScorpion(NotSoRadScorpion const& other) : Enemy(other) +{ + std::cout << "* not so click click click *" << std::endl; +} + +NotSoRadScorpion& NotSoRadScorpion::operator=(NotSoRadScorpion const& other) +{ + Enemy::operator=(other); + return *this; +} + +NotSoRadScorpion::~NotSoRadScorpion() +{ + std::cout << "* SPROTCH (fuck this correction pdf) *" << std::endl; +} |
