James Heavey / Mbed 2 deprecated EL17JH

Dependencies:   mbed

Revision:
75:d96b177585aa
Parent:
72:7254d2a8a1cd
Child:
76:52410264a72d
--- a/BreakoutEngine/BreakoutEngine.cpp	Sun May 05 22:17:39 2019 +0000
+++ b/BreakoutEngine/BreakoutEngine.cpp	Mon May 06 13:02:03 2019 +0000
@@ -89,7 +89,7 @@
     //printf("init ended /n");
 }
 
-void BreakoutEngine::moveback_bricks()  // rename to reset add in ball reset and use to increase the number of balls each time
+void BreakoutEngine::reset()  // rename to reset add in ball reset and use to increase the number of balls each time
 {    
     reset_num_left();
     _ball.init(_ball_size,_speed + _multiplier/2); // replace the 1 with a multiplier private variable that tracks the number of times continued from victory