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:
- 67:c362df66fac9
- Parent:
- 66:5561cbdfb1b1
- Child:
- 69:db1354676fde
--- a/BreakoutEngine/BreakoutEngine.cpp Sun May 05 15:31:39 2019 +0000
+++ b/BreakoutEngine/BreakoutEngine.cpp Sun May 05 15:42:22 2019 +0000
@@ -378,8 +378,10 @@
it_R -> hit();
it_R -> hit();
//delete _brick11;
- it_R -> set_posx(-100);
- one_less();
+ if(it_R->hit() == true) {
+ it_R -> set_posx(-100);
+ one_less();
+ }
}
}
// write new attributes