James Cummins / Mbed 2 deprecated el17jnc

Dependencies:   mbed

Revision:
36:9f7463a65fe0
Parent:
33:c2dbad3dd805
Child:
37:de1f584bce71
--- 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);