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: Enemy/Enemy2.cpp
- Revision:
- 26:3652bc2fe3fc
- Parent:
- 22:8e38efeae0c9
diff -r 1d3bf74dddeb -r 3652bc2fe3fc Enemy/Enemy2.cpp --- a/Enemy/Enemy2.cpp Thu May 09 13:43:23 2019 +0000 +++ b/Enemy/Enemy2.cpp Thu May 09 14:40:58 2019 +0000 @@ -16,6 +16,11 @@ y_enem = y; } +// resets incrementer to 0 // +void Enemy2::resetIncrementer(){ + _incrementer_enem2 = 0; +} + int Enemy2::get_x_enem() { return x_enem;