From fc4a95db3de6b1b1686c4761179e56e618736483 Mon Sep 17 00:00:00 2001 From: Justin Date: Sun, 11 May 2025 20:47:56 -0500 Subject: [PATCH] Fixed the time of the typing. --- src/main.cpp | 4 +--- src/print.cpp | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9e22f87..576e482 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,10 +2,8 @@ int main (){ system("clear"); - //Title title; Title::mainTitle(); - //Intro intro; - //Intro::mainIntro(); + Intro::mainIntro(); Game game; game.gameloop(); cin.get(); diff --git a/src/print.cpp b/src/print.cpp index 228d6b6..c58a436 100644 --- a/src/print.cpp +++ b/src/print.cpp @@ -13,7 +13,7 @@ void Print::type(string text){ char* charArray = new char[a+1]; strcpy(charArray, text.c_str()); int i = 0; - int time = 250; + int time = 150; while(i < a+1){ std::this_thread::sleep_for(std::chrono::milliseconds(time));