MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / runSplashScreen

Method runSplashScreen

code/main/SuperRPG.ts:513–527  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

511 }
512
513 private runSplashScreen(): boolean{
514 // If the timer is >= 0
515 if(this.splashScreenTimer >= 0){
516 // Reduce the timer
517 this.splashScreenTimer -= 1;
518 }
519 // Else
520 else{
521 // Switch to the next step
522 this.goToMainMenu();
523 }
524
525 // We can't end the game during the splash screen
526 return false;
527 }
528}

Callers 1

runMethod · 0.95

Calls 1

goToMainMenuMethod · 0.95

Tested by

no test coverage detected