/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* WrongAnimal.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/02/18 16:21:46 by rparodi #+# #+# */ /* Updated: 2025/02/18 17:20:01 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #include "WrongAnimal.hpp" #include WrongAnimal::WrongAnimal() { std::cout << "[WrongAnimal]\tCreating WrongAnimal class" << std::endl; type = "WrongAnimal"; } WrongAnimal::WrongAnimal(WrongAnimal const & copy) { std::cout << "[WrongAnimal]\tCreating WrongAnimal class (copy)" << std::endl; this->type = copy.type; } WrongAnimal & WrongAnimal::operator=(WrongAnimal const & assign) { std::cout << "[WrongAnimal]\tCreating WrongAnimal class (assign)" << std::endl; this->type = assign.type; return *this; } WrongAnimal::~WrongAnimal() { std::cout << "[WrongAnimal]\tDeleting WrongAnimal class" << std::endl; } void WrongAnimal::makeSound() const { std::cout << "[WrongAnimal]\t🦊 | What does the fox say ?" << std::endl; }