Fixed the time of the typing.
This commit is contained in:
1 parent
331a0812bc
commit
fc4a95db3d
2 files changed
+2
-4
No files matched your search
+1
-3
@@ -2,10 +2,8 @@
|
||||
|
||||
int main (){
|
||||
system("clear");
|
||||
//Title title;
|
||||
Title::mainTitle();
|
||||
//Intro intro;
|
||||
//Intro::mainIntro();
|
||||
Intro::mainIntro();
|
||||
Game game;
|
||||
game.gameloop();
|
||||
cin.get();
|
||||
|
||||
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user