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:
- 9:4b11ee1155ad
- Parent:
- 6:33bdb54c2c88
- Child:
- 10:f5b920a6a71a
--- a/My_game_clases/Objects.h Fri Apr 03 07:29:16 2020 +0000 +++ b/My_game_clases/Objects.h Fri Apr 10 08:24:48 2020 +0000 @@ -18,6 +18,10 @@ void draw_shots(N5110 &lcd);// 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 + int get_x_value(int i);//gets _shot_x_pos(i) + int get_y_value(int i);//gets _shot_y_pos(i) + void erase_shot(int i);//erases _shot_x_pos(i) and _shot_y_pos(i) vector <int> _shot_y_pos; //holds the shots y positions vector <int> _shot_x_pos;//holds the shots x positons