End Game Screen is a basic end screen for the Top of The Class video game.
- Customizable End Screen Text: This allows you to change the end screen text for the different subjects in the game.
To set up the end screen for the game to provide the info you wish to display.
publicvoidsetPlayerStats(stringt_name,intt_place,stringt_General_Knowledge_Result,stringt_English_Result,stringt_Math_Result,stringt_Science_Result,stringt_Geography_Result,stringt_History_Result)setPlayerStats("Alan",1,"A+","B","F","C","B+","A-");Setting the amount of players before displaying the end screen is important as only the amount set will be displayed. Max 4 players.
intplayerAmount=3;setPlayerAmount(playerAmount)To display the end screen:
showEndScreen();Use the MovementComplete function to determine if the movement is finished:
if(movementController.MovementComplete()){// Movement has completed}End Game Screen is a simple package to display an endgame screen for TOTC.