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: Enemy/Enemy.cpp
- Revision:
- 8:d1c04f0e4890
- Parent:
- 7:08f78909dda7
- Child:
- 9:3a0194c87afe
--- a/Enemy/Enemy.cpp Thu May 09 01:30:57 2019 +0000 +++ b/Enemy/Enemy.cpp Sat May 11 08:23:54 2019 +0000 @@ -27,7 +27,7 @@ } bool Enemy::check_collision() { - if ( (_x >= 29) && + if ( (_x >= 29) && // Hero centrepoint - radius - enemyRadius (_x <= 55) && (_y >= 11) && (_y <= 37) ) {