Compare commits

..

No commits in common. "bb8bc40c1376bb2e5e6e43a206f10cdb2eb1b68e" and "4f60b29fc48bed119d5a0045b5d43827993d0ba5" have entirely different histories.

7 changed files with 21 additions and 22 deletions

View File

@ -7,7 +7,7 @@ using namespace std;
class Intro { class Intro {
public: public:
static void mainIntro(); void mainIntro();
private: private:
}; };

View File

@ -1,5 +1,4 @@
#include <iostream> #include <iostream>
#include "intro.h" #include "intro.h"
#include "title.h" #include "title.h"
#include <cstdlib>
using namespace std; using namespace std;

View File

@ -8,6 +8,6 @@ using namespace std;
class Sleep{ class Sleep{
public: public:
static void delay(int milliseconds); void delay(int milliseconds);
static void type(string text); void type(string text);
}; };

View File

@ -1,12 +1,10 @@
#include <iostream> #include <iostream>
#include <unistd.h> #include <unistd.h>
#include "include/print.h"
#include "include/sleep.h"
using namespace std; using namespace std;
class Title{ class Title{
private: private:
protected: protected:
public: public:
static void mainTitle(); void mainTitle();
}; };

View File

@ -1,12 +1,10 @@
#include "include/intro.h" #include "include/intro.h"
void Intro::mainIntro(){ void Intro::mainIntro(){
Sleep sleep;
int time = 1000; int time = 1000;
cout << endl; sleep.delay(time);
cout << endl; sleep.type("The world didn't end with a bang. It ended with a groan.. and the scratching of death fingers against steel shutters.");
Sleep::type(""); sleep.delay(time);
Sleep::delay(time); sleep.type("Pete used to sell shotgun, slug, and survival tips to deer hunters and doomsday preppers out of his rundown gun store ");
Sleep::type("The world didn't end with a bang. It ended with a groan.. and the scratching of death fingers against steel shutters.");
Sleep::delay(time);
Sleep::type("Pete used to sell shotgun, slug, and survival tips to deer hunters and doomsday preppers out of his rundown gun store ");
} }

View File

@ -1,8 +1,9 @@
#include "include/main.h" #include "include/main.h"
int main (){ int main (){
system("clear"); Title title;
Title::mainTitle(); title.mainTitle();
Intro::mainIntro(); Intro intro;
intro.mainIntro();
return 0; return 0;
} }

View File

@ -1,17 +1,20 @@
#include "include/title.h" #include "include/title.h"
#include "include/print.h"
#include "include/sleep.h"
void Title::mainTitle(){ void Title::mainTitle(){
Sleep sleep;
int time = 700; int time = 700;
cout << "███████╗██╗ ██╗ ██████╗ ████████╗ ██████╗ ██╗ ██╗███╗ ██╗ ██████╗ ███████╗████████╗███████╗" << endl; cout << "███████╗██╗ ██╗ ██████╗ ████████╗ ██████╗ ██╗ ██╗███╗ ██╗ ██████╗ ███████╗████████╗███████╗" << endl;
Sleep::delay(time); sleep.delay(time);
cout << "██╔════╝██║ ██║██╔═══██╗╚══██╔══╝██╔════╝ ██║ ██║████╗ ██║ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝" << endl; cout << "██╔════╝██║ ██║██╔═══██╗╚══██╔══╝██╔════╝ ██║ ██║████╗ ██║ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝" << endl;
Sleep::delay(time); sleep.delay(time);
cout << "███████╗███████║██║ ██║ ██║ ██║ ███╗██║ ██║██╔██╗ ██║ ██████╔╝█████╗ ██║ █████╗ " << endl; cout << "███████╗███████║██║ ██║ ██║ ██║ ███╗██║ ██║██╔██╗ ██║ ██████╔╝█████╗ ██║ █████╗ " << endl;
Sleep::delay(time); sleep.delay(time);
cout << "╚════██║██╔══██║██║ ██║ ██║ ██║ ██║██║ ██║██║╚██╗██║ ██╔═══╝ ██╔══╝ ██║ ██╔══╝ " << endl; cout << "╚════██║██╔══██║██║ ██║ ██║ ██║ ██║██║ ██║██║╚██╗██║ ██╔═══╝ ██╔══╝ ██║ ██╔══╝ " << endl;
Sleep::delay(time); sleep.delay(time);
cout << "███████║██║ ██║╚██████╔╝ ██║ ╚██████╔╝╚██████╔╝██║ ╚████║ ██║ ███████╗ ██║ ███████╗" << endl; cout << "███████║██║ ██║╚██████╔╝ ██║ ╚██████╔╝╚██████╔╝██║ ╚████║ ██║ ███████╗ ██║ ███████╗" << endl;
Sleep::delay(time); sleep.delay(time);
cout << "╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝" << endl; cout << "╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝" << endl;
} }