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: My_game_clases/Objects.h
- Revision:
- 16:e2aaef863d7c
- Parent:
- 14:739115711bf8
- Child:
- 21:32429d8e90ff
diff -r 3f558f8b54ea -r e2aaef863d7c My_game_clases/Objects.h
--- a/My_game_clases/Objects.h Fri May 01 12:54:25 2020 +0000
+++ b/My_game_clases/Objects.h Thu May 07 08:58:21 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,Gamepad &pad);// makes the shoting on the screen
+ void draw_shots(N5110 &lcd,Gamepad &pad,bool c);// 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