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 {
public:
static void mainIntro();
void mainIntro();
private:
};

View File

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

View File

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

View File

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

View File

@ -1,12 +1,10 @@
#include "include/intro.h"
void Intro::mainIntro(){
Sleep sleep;
int time = 1000;
cout << endl;
cout << endl;
Sleep::type("");
Sleep::delay(time);
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 ");
sleep.delay(time);
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"
int main (){
system("clear");
Title::mainTitle();
Intro::mainIntro();
Title title;
title.mainTitle();
Intro intro;
intro.mainIntro();
return 0;
}

View File

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