Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Rasturizer/Rasturizer.cpp
- Revision:
- 30:91038c2afec7
- Parent:
- 29:4a02f0bae202
--- 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);
}