You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.8 KiB

3 years ago
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ShrubberyCreationForm.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/27 10:17:15 by narnaud #+# #+# */
/* Updated: 2022/06/27 14:39:19 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#include "ShrubberyCreationForm.hpp"
2 years ago
ShrubberyCreationForm::ShrubberyCreationForm(string target)
: Form("ShrubberyCreationForm", 147, 137, target) {}
3 years ago
2 years ago
ShrubberyCreationForm::~ShrubberyCreationForm(void) {}
3 years ago
void ShrubberyCreationForm::run(void) const {
2 years ago
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();
3 years ago
}