Fixed the time of the typing.
This commit is contained in:
parent
331a0812bc
commit
fc4a95db3d
|
@ -2,10 +2,8 @@
|
|||
|
||||
int main (){
|
||||
system("clear");
|
||||
//Title title;
|
||||
Title::mainTitle();
|
||||
//Intro intro;
|
||||
//Intro::mainIntro();
|
||||
Intro::mainIntro();
|
||||
Game game;
|
||||
game.gameloop();
|
||||
cin.get();
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue