added the files

This commit is contained in:
Justin committed 2025-05-09 19:15:51 -05:00
1 parent 8a351b03b4
commit 5974b9d325
5 files changed
+42 -2

No files matched your search

+2
View File
@@ -2,3 +2,5 @@ main.d
title.d
obj/*
Shot-Gun-Pete
banner.txt
print.d
+16
View File
@@ -0,0 +1,16 @@
#include <iostream>
#include <string>
using namespace std;
class Print{
public:
Print (){
};
~Print(){
};
void printl(string text);
void println(string text);
};
+1
View File
@@ -1,4 +1,5 @@
#include <iostream>
#include <unistd.h>
using namespace std;
class Title{
+9
View File
@@ -0,0 +1,9 @@
#include "include/print.h"
void Print::printl(string text){
cout << text;
}
void Print::println(string text){
cout << text << endl;
}
+14 -2
View File
@@ -1,9 +1,21 @@
#include "include/title.h"
#include "include/print.h"
void Title::mainTitle(){
cout << "This is the title" << endl;
int s = 2000;
Print print;
print.println("███████╗██╗ ██╗ ██████╗ ████████╗ ██████╗ ██╗ ██╗███╗ ██╗ ██████╗ ███████╗████████╗███████╗");
usleep(s);
print.println("██╔════╝██║ ██║██╔═══██╗╚══██╔══╝██╔════╝ ██║ ██║████╗ ██║ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝");
usleep(s);
print.println("███████╗███████║██║ ██║ ██║ ██║ ███╗██║ ██║██╔██╗ ██║ ██████╔╝█████╗ ██║ █████╗ ");
usleep(s);
print.println("╚════██║██╔══██║██║ ██║ ██║ ██║ ██║██║ ██║██║╚██╗██║ ██╔═══╝ ██╔══╝ ██║ ██╔══╝ ");
usleep(s);
print.println("███████║██║ ██║╚██████╔╝ ██║ ╚██████╔╝╚██████╔╝██║ ╚████║ ██║ ███████╗ ██║ ███████╗");
usleep(s);
print.println("╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝");
}