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: BreakoutEngine/BreakoutEngine.cpp
- 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