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: Bullets/Bullets.cpp
- Revision:
- 8:0c6d6ed55851
- Parent:
- 7:0434857199cf
- Child:
- 9:62fe47a1374f
--- a/Bullets/Bullets.cpp Fri May 22 15:46:14 2020 +0000 +++ b/Bullets/Bullets.cpp Fri May 22 16:54:10 2020 +0000 @@ -33,16 +33,16 @@ void Bullets::update() { if(_dir == 0){ - _y = _y-2; + _y = _y-3; } else if (_dir == 1){ - _x = _x+2; + _x = _x+3; } else if (_dir == 2){ - _y = _y+2; + _y = _y+3; } else if (_dir == 3){ - _x = _x-2; + _x = _x-3; } } int Bullets::get_x(){