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.
Diff: main.cpp
- Revision:
- 36:9f7463a65fe0
- Parent:
- 33:c2dbad3dd805
- Child:
- 37:de1f584bce71
diff -r 138ad0faa42b -r 9f7463a65fe0 main.cpp
--- a/main.cpp Sat May 04 18:56:38 2019 +0000
+++ b/main.cpp Mon May 06 00:05:52 2019 +0000
@@ -148,6 +148,7 @@
void classic_mode(){
classic.init(ball, map);
+ pause.classic_help(gamepad, lcd);
bool collision = false;
while(!(collision)){
classic.classic_update(ball, accelerometer, map);
@@ -174,6 +175,7 @@
}
void brickbreaker_mode(){
+ pause.brickbreaker_help(gamepad, lcd);
for(int i = 0; i < 45*fps; i++){
if(i == 1){ brick.set_score(0); } //reset score when game restarts
ball.read_input(accelerometer);