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.
Diff: main.cpp
- Revision:
- 28:b6f048f46ffb
- Parent:
- 27:da17a102c8d0
--- a/main.cpp Thu May 21 17:49:49 2020 +0000 +++ b/main.cpp Thu May 21 17:56:11 2020 +0000 @@ -83,7 +83,7 @@ objects.draw_shots(lcd,pad, true);//again draws the shots so they would be visible on the screen functions.collision_checker(lcd,objects,pad);//cheks for the collisions objects.draw_base(lcd);//draws the base of the game - objects.cannon_position(pad);//changes the cannon postion + objects.cannon_position(pad);//changes the cannon position objects.draw_cannon(lcd);//draws the cannon game_check = functions.cannon_smash(lcd, objects); //checks if the cannon has been hit by a ball lcd.refresh();