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 MotionSensor
Diff: Title/Title.cpp
- Revision:
- 40:cbcbf6fc1421
- Parent:
- 34:1d5b4da3935e
- Child:
- 45:8725b4171646
diff -r 0c2521949429 -r cbcbf6fc1421 Title/Title.cpp
--- a/Title/Title.cpp Tue May 07 09:43:36 2019 +0000
+++ b/Title/Title.cpp Tue May 07 12:42:12 2019 +0000
@@ -38,6 +38,7 @@
title_option_hi_scores(lcd);
}
}
+ player.~Player();
}
void Title::draw_title_screen(N5110 &lcd)
@@ -84,6 +85,7 @@
lcd.printString("using the", 0, 1);
lcd.printString("potentiometer", 0, 2);
player.draw(lcd);
+ player.draw_bullets(lcd, player.get_pos_y() - 2);
lcd.refresh();
player.move(1, 0, (char *)level_map[0][0], (bool *)sprite_transparent_player);
player.buttons(false, true, false, false);