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: Fire/Fire.cpp
- Revision:
- 26:4253656c0755
- Parent:
- 21:20478f086bc2
- Child:
- 29:bdc4138b5171
--- a/Fire/Fire.cpp Wed Apr 24 17:58:35 2019 +0000 +++ b/Fire/Fire.cpp Fri May 03 09:33:34 2019 +0000 @@ -23,7 +23,7 @@ Fire::~Fire() {} void Fire::init() { - _x = -10; + _x = -10; // Start fire off screen. _fire_counter = false; } @@ -36,6 +36,7 @@ } int * Fire::get_fire_sprite() { + // Return different fire sprites. if (_fire_counter) { return *fire_one; } else {