Arturs Kozlovskis / Mbed 2 deprecated ELEC2645_Project_el18ak

Dependencies:   mbed

Files at this revision

API Documentation at this revision

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();