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.
Dependencies: mbed
Diff: Bullet/Bullet.cpp
- Revision:
- 31:5c4acae51026
- Parent:
- 29:15e9640646b7
- Child:
- 33:de130e274391
diff -r 863565e9859f -r 5c4acae51026 Bullet/Bullet.cpp
--- a/Bullet/Bullet.cpp Thu May 09 08:59:39 2019 +0000
+++ b/Bullet/Bullet.cpp Thu May 09 10:15:20 2019 +0000
@@ -21,7 +21,7 @@
void Bullet::update(float dood_pos_x, float dood_pos_y)
{
_position_y -= 3;
- if (_position_y < 9) { // reached end of screen
+ if (_position_y < 9) { // reached end of screen
_position_x = dood_pos_x + 12;
_position_y = dood_pos_y + 4;
}