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.
Dependencies: mbed
Diff: Ball/Ball.h
- Revision:
- 12:954da4f4e565
- Parent:
- 11:f481ec642cc5
- Child:
- 13:924891519a95
--- a/Ball/Ball.h Mon Apr 22 19:57:01 2019 +0000
+++ b/Ball/Ball.h Tue Apr 23 12:46:34 2019 +0000
@@ -21,12 +21,14 @@
Vector2D get_pos();
void set_pos(Vector2D p);
- void update();
/// accessors and mutators
int ball_start();
void get_direction(Gamepad &pad);
- void update_ball(int checkHit, Direction dir);
+ //void update_ball(int checkHit, Direction dir);
+ void update_ball_x(int expected_x);
+ void update_ball_y(int expected_y);
+
int bowler_start();
void reset();