Skip to content
Snippets Groups Projects
Commit 93bd07a7 authored by Arfa Butt's avatar Arfa Butt
Browse files

Include time in game over message

parent a595e261
No related branches found
No related tags found
No related merge requests found
......@@ -579,18 +579,17 @@ public class GameController{
*/
if(scoreBottom==0){
getElapsedTime();
v.gameOver(0);
v.gameOver(0, timeElapsed);
resetGame();
} else if(scoreTop==0){
getElapsedTime();
v.gameOver(1);
v.gameOver(1, timeElapsed);
resetGame();
}
//TODO: SAVE RECORD
}
private void getElapsedTime(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment