ELEC2645 (2018/19) / Mbed 2 deprecated el17cd

Dependencies:   mbed

Revision:
30:91038c2afec7
Parent:
29:4a02f0bae202
diff -r 4a02f0bae202 -r 91038c2afec7 Rasturizer/Rasturizer.cpp
--- a/Rasturizer/Rasturizer.cpp	Thu Apr 04 22:04:10 2019 +0000
+++ b/Rasturizer/Rasturizer.cpp	Fri Apr 05 13:54:34 2019 +0000
@@ -156,10 +156,7 @@
 
 void Rasturizer::drawDeathScreen(bool selection, int highScore){
     Face faces[6];
-    int x;
-    int y;
-    int z;
-    
+    int x, y, z;
     if(selection == true){
         x = -30;
         y = -3;
@@ -171,7 +168,8 @@
         z = 50;
     }
     
-    printScore(highScore, 40, 0);
+    print("Best:", 30, 0);
+    printScore(highScore, 60, 0);
     drawDeathButtons();
     drawSelectionCube(x, y, z, 2);
 }