Fixed the time of the typing.

This commit is contained in:
Justin 2025-05-11 20:47:56 -05:00
parent 331a0812bc
commit fc4a95db3d
2 changed files with 2 additions and 4 deletions

View File

@ -2,10 +2,8 @@
int main (){
system("clear");
//Title title;
Title::mainTitle();
//Intro intro;
//Intro::mainIntro();
Intro::mainIntro();
Game game;
game.gameloop();
cin.get();

View File

@ -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));