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.
Revision 28:b6f048f46ffb, committed 2020-05-21
- Comitter:
- thestudent
- Date:
- Thu May 21 17:56:11 2020 +0000
- Parent:
- 27:da17a102c8d0
- Commit message:
- Final Submission. I have read and agreed with Statement of Academic Integrity.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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();