/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ShrubberyCreationForm.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/27 10:17:15 by narnaud #+# #+# */ /* Updated: 2022/06/27 14:39:19 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #include "ShrubberyCreationForm.hpp" ShrubberyCreationForm::ShrubberyCreationForm(string target) : Form("ShrubberyCreationForm", 147, 137, target) {} ShrubberyCreationForm::~ShrubberyCreationForm(void) {} void ShrubberyCreationForm::run(void) const { std::ofstream file; file.open((_target + "shrubbery").c_str()); file << " ,@@@@@@@," << endl; file << " ,,,. ,@@@@@@/@@, .oo8888o." << endl; file << " ,&\%%&%&&%,@@@@@/@@@@@@,8888\\88/8o" << endl; file << " ,%&\\%&&%&&%,@@@\\@@@/@@@88\\88888/88'" << endl; file << " %&&%&%&/%&&%@@\\@@/ /@@@88888\\88888'" << endl; file << " %&&%/ %&\%%&&@@\\ V /@@' `88\\8 `/88'" << endl; file << " `&%\\ ` /%&' |.| \\ '|8'" << endl; file << " |o| | | | |" << endl; file << " |.| | | | |" << endl; file << " \\\\/ ._\\//_/__/ ,\\_//__\\\\/. \\_//__/_" << endl; file.close(); }