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: Imposs/ImpossEngine.cpp
- Revision:
- 5:5c132202b642
- Parent:
- 4:a9d5fca3b7ba
- Child:
- 7:35465b3bf586
--- a/Imposs/ImpossEngine.cpp Sun May 17 15:55:47 2020 +0000 +++ b/Imposs/ImpossEngine.cpp Sun May 17 19:09:13 2020 +0000 @@ -17,7 +17,7 @@ { _start.complete(pad,lcd); } - + void ImpossEngine::read_input(Gamepad &pad) { _d = pad.get_direction(); @@ -27,9 +27,7 @@ void ImpossEngine::draw(N5110 &lcd) { // draw the elements in the LCD buffer - // pitch - - _ball.draw(lcd); + // pitch if (level == 0){ _zero.draw(lcd); @@ -38,6 +36,8 @@ if (level == 1){ _one.draw(lcd); } + + _ball.draw(lcd); } @@ -137,5 +137,3 @@ } } - -