Arturs Kozlovskis / Mbed 2 deprecated ELEC2645_Project_el18ak

Dependencies:   mbed

Revision:
14:739115711bf8
Parent:
10:f5b920a6a71a
Child:
16:e2aaef863d7c
--- a/My_game_clases/Objects.h	Wed Apr 29 12:48:40 2020 +0000
+++ b/My_game_clases/Objects.h	Wed Apr 29 13:51:14 2020 +0000
@@ -16,7 +16,7 @@
     void draw_base(N5110 &lcd);// draws the base
     void cannon_position(Gamepad &pad);// changes the cannon position depending of the joystick
     void draw_cannon(N5110 &lcd);//draws the cannon
-    void draw_shots(N5110 &lcd);// makes the shoting on the screen
+    void draw_shots(N5110 &lcd,Gamepad &pad);// makes the shoting on the screen
     //ball_x: balls x position; ball_y: balls y position; delta_r: added to the inital radiuss to make the ball bigger
     void draw_ball(N5110 &lcd, int ball_x, int ball_y, int delta_r);//draws the ball
     int get_size();//gets the size of _shot_y_pos vector