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:
- 50:2c5cb92a5361
- Parent:
- 49:3f83ed62d123
- Child:
- 57:1c12361b6e3d
--- a/Title/Title.cpp Thu May 09 04:24:30 2019 +0000
+++ b/Title/Title.cpp Thu May 09 06:33:28 2019 +0000
@@ -85,7 +85,7 @@
player.move(1, 0, (char *)level_map[0][0], (bool *)sprite_transparent_player); // Adding animation of walking
player.undo_move_x(true); // Keeping the player in place
player.buttons(false, true, false, false); // Instructing player to shoot right
- player.update_bullets((char *)level_map[0][0], (bool *)sprite_transparent_player); // Move the bullets and delete those out of the screen
+ player.delete_out_of_bounds_bullets((char *)level_map[0][0], (bool *)sprite_transparent_player); // Move the bullets and delete those out of the screen
wait_ms(1000/40);
}
wait(0.05);