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