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: SpaceInvadersEngine/SpaceInvadersEngine.cpp
- Revision:
- 54:095eae44895b
- Parent:
- 53:db66345d6755
- Child:
- 55:12faef5bd754
--- a/SpaceInvadersEngine/SpaceInvadersEngine.cpp Mon Apr 22 15:10:02 2019 +0000 +++ b/SpaceInvadersEngine/SpaceInvadersEngine.cpp Fri Apr 26 00:19:57 2019 +0000 @@ -33,15 +33,14 @@ _mag = pad.get_mag(); } -void SpaceInvadersEngine::draw(N5110 &lcd) + void SpaceInvadersEngine::draw(N5110 &lcd) { // draw the elements in the LCD buffer // pitch lcd.drawRect(0,0,WIDTH,HEIGHT,FILL_TRANSPARENT); lcd.drawLine(WIDTH/2,0,WIDTH/2,HEIGHT-1,2); //score - print_scores(lcd); + print_scores(lcd);} - - -} + void SpaceInvadersEngine::update(Gamepad&pad) +